2009-11-18

Get everything from an FTP server

When there's no shell access (and so no SCP) FTP is unavoidable. I'd usually do this with a Gui FTP program like Filezilla but I thought it was about time I figured out how to do it on the command line.

wget does the trick but I noticed it got stuck once or twice and then didn't move. When that happened I just hit ^C to stop it and then ran again with the c switch (continue). That switch doesn't hurt the first time either so I'll include it below:

wget -cr --user username --password password ftp://server

No comments:

Post a Comment