Multiple FIle Upload in FTP Using CMD

Posted by user697363 on Super User See other posts from Super User or by user697363
Published on 2012-11-11T10:34:24Z Indexed on 2012/11/11 23:04 UTC
Read the original article Hit count: 161

Filed under:

I've large number of files, over 10,000, which I want to upload in FTP server. Now, I can't zip those files & upload it as I've to read those files individually in SAS software for my analysis.

If I use mput commant, then the prompt as me to say "y" eact time it tries to upload the file. This is very cumbersome. Is there any method by which it automatically upload the files without I've to manually entering "y" each time file wants to upload.

The command I was using was:

ftp ftp.myftp.com  *my ftp server name
username:myusername
password:mypassword
ftp> lcd c:\local_folder
ftp> mput *.*

© Super User or respective owner

Related posts about ftp