vitaminC_ny
asked on
create ftp batch file
I need to create a ftp batch file on Windows 2003
I need to connect to linux server by IP w/ username & password
and copy one file to the local windows server
The linux server is not setup for sftp.
Please advise thanks
I need to connect to linux server by IP w/ username & password
and copy one file to the local windows server
The linux server is not setup for sftp.
Please advise thanks
Is this a process you need to repeat, so you desire to create a batch file to get a specific file from the Linux box and put it in a specific place on the windows box?
ASKER
That is correct.
Try something like this (not tested):
cd \path\where\to\put\file
(
echo open host passwd
echo cd /path/to/the/file
echo get the_file
echo bye
)|ftp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
that did the trick thanks