wget is a great tool. Here’s a short example on how to recursively get a directory from an FTP or HTTP server, also specifying credentials if required.
In short, wget -r http://www.domain.com/directory/ – this works the same with FTP: wget -r ftp://www.domain.com/directory/
If you need to specify a username and password to the FTP server: wget -r ftp://username:password@www.domain.com/directory/
To resume an existing session, specify -c and each file downloaded will attempt to resume from where it left off, if necessary.
"
No comments:
Post a Comment