SafeFeel.com

Free Computer Networking Security & Software Questions and Answers Website

How to FTP a complete folder and sub-folders from command prompt in Linux ?




Answers: ftp <site>\
enter username
enter password

put
local dir c:\test
remote (leave blank if you want the folder to be placed the root or put in a sub dir to copy it too...)
How something like this after you've established the nouns and are contained by the correct remote dir? (untried)
> mput *.*


If you've get shell access to the remote server too, I'd suggest that you tarmacadam & gzip your folder locally and FTP that single archive over to the remote server and later extract it on the remote side. This will speed you up within 2 ways - 1) the record is smaller since it's compressed and 2) you avoid the protocol overhead of initiating the verbs of respectively individual folder.