Solved

trouble sending file to ftp site

Posted on 2007-03-29
5
248 Views
Last Modified: 2010-03-05
I'm having trouble with this ftp code, the files are not there.  Please help...
My login is anonymous and password must contain a valid email address

Send to: ftp://ftvmu1/VVG/jax/FTL
My file location is on a share directory: K:\\ftlgg01\dept\ftl\"PRogram1"

In the same location, I have a .scr (lextract.scr) file that contains the following:
ftvmu1
anonymous
bob.cat@cars.com
cd VVG/jax/FTL
put K:\\ftlgg01\dept\ftl\"PRogram1"

In the same location, I have a .bat (fromshell.bat) file that contains the following:
ftp -s:c:\lextract.scr

I schedule a task to run the .bat file or just manually execute the file.




0
Comment
Question by:smcfarla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

by:Alan Huseyin Kayahan
ID: 18817624
           That ftp address looks incorrect. Have you ever made successfull connection or copy to that specified address?
0
 
LVL 29

Expert Comment

by:Alan Huseyin Kayahan
ID: 18817914
       If you map this ftp address as a drive to your computer, your script will work better/with minimum fault.

Its possible to configure a machine to map to a FTP server as a drive (for instance the Microsoft site) providing the machine runs both NetBEUI and TCP/IP. Perform the following:

Example below is for microsoft.com. You would change the values with yours and map the drive for your ftp.

Perform a NSLOOKUP for the FTP site, e.g.
nslookup ftp.microsoft.com
make a note of the IP address
Edit the LMHOSTS file (in %systemroot%\system32\drivers\etc)
Add line
<ip address> MicrosoftFTP #PRE
e.g. 207.46.133.140 MicrosoftFTP #PRE
Save the file
Open a CMD.EXE session. Enter command:
nbtstat -R
This purges and reloads the name table cache
Type command:
net view \\MicrosoftFTP
You should see information on the site
Now map a drive (to share data)
net use * \\MicrosoftFTP\data /user:anonymous
All done. It will pass a drive letter for the connection
0
 

Author Comment

by:smcfarla
ID: 18819507
i added this line in the lmhosts, i just put it where the other <ip> #PRE commands were.
I saved the file
I type net view \\MicrosoftFTP and got an error msg:
System error 53 has occurred
The network path was not found.

When i did the ip lookup i also got the server name...
0
 
LVL 29

Accepted Solution

by:
Alan Huseyin Kayahan earned 500 total points
ID: 18819629
       Don't use Microsoft. It is just an example. Change them with your own settings.
0
 

Author Comment

by:smcfarla
ID: 18821054
Now that i have the ip address, is there an easier way?  I'm getting the same error message when i try to net view \\ftsmur1
This is the section where i put the ip address (see where i typed <HERE>>>>>>>):

# The following example illustrates all of these extensions:
#
# 102.54.94.97     rhino         #PRE #DOM:networking  #net group's DC
# 102.54.94.102    "appname  \0x14"                    #special app server
# 102.54.94.123    popular            #PRE             #source server
# 102.54.94.117    localsrv           #PRE             #needed for the include
# 135.108.73.7          ftsmur1 #PRE <HERE>>>>>>>>>>
#
# #BEGIN_ALTERNATE
# #INCLUDE \\localsrv\public\lmhosts
# #INCLUDE \\rhino\public\lmhosts
# #INCLUDE \\ftsmur1\public\lmhosts <HERE>>>>>>>>>>
# #END_ALTERNATE
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Autotask Connectwise PSA 3 114
RemoteApp inside of a terminal server session 9 61
Help with internal NTP server 12 57
enable S.M.A.R.T. on Lenovo IdeaPad 5 108
This article covers how to install the Microsoft Windows Operating System (OS). What is covered in this article:  > Different Versions and Editions of the Windows OS  > Upgrading versus Fresh Installation of the OS           - Steps to take pr…
Have you ever had a hard drive that you can't boot into, but need to change the registry? Here is the solution! This article guides you through accessing and editing a registry of a non-primary drive. To read registry information on a non-prim…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question