Best way to mirror remote FTP directory
Hello,
What is the best way to mirror remote ftp directories to a local server? I want a scipt to execute every night, to check and download all the new files available. The remote server is not mine. Thank you for your help! |
i think rsync is what you want. i used it many years ago when i worked for an engineering company that wanted to keep firmware changes current among all their locations.
|
I don't know about "best" but wget can do this for you and even has a "--mirror" option.
|
Thank you, this is what I ended up using:
Code:
wget --mirror [prot]://[username]:[password]@[hostname]/[directory to mirror |
Glad to be of help. Don't forget to mark the thread as Solved.
|
All times are GMT -5. The time now is 05:41 PM. |