Easy FTP mirroring with wget

There are a lot of tools out there for mirroring data, but sometimes you just want to do something very simple: download the latest contents of a FTP directory while leaving what you have already downloaded alone. wget supports a mirror command that provides this exact functionality. Just enter the directory where you would like to store the mirror and execute this command:

wget --mirror [prot]://[username]:[password]@[hostname]/[directory to mirror]

3 thoughts on “Easy FTP mirroring with wget”

  1. Sam S.: Unfortunately, cron jobs cannot be set up to use part of a link or part of a file (in that job, it was using the ?delete-after part of the fileSam S.: Cron jobs must run a cmptleoe filecould you pls send me the cmptleoely url path of the cron job file like cron.php?Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *