Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mget files to a specific folder

Status
Not open for further replies.

claws2rip

Programmer
Dec 14, 2001
80
US
I am trying to use the mget command and download all csv files to a specific folder.
I tried the following code but i wasnt able to successfully download the files.

cd /outgoing
mget *.csv \\ServerA\MorningFiles\Download
This is the error message I received:
"open for read: no such file or directory"

I tried the path with quotes and without and they both failed.

Any ideas?


Thanks
sam
 
You need to use lcd to change the "local" directory. cd will attempt to change to a directory on the remote FTP server.

Annihilannic
[small]tgmlify - code syntax highlighting for your tek-tips posts[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top