20-11-2007, 18:27 | #1 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Vista - Easy way to sync local folder with web folder?
Just been thinking of a little thing I'd like to be able to do for automating some downloads whilst not at home.
Is there an easy way I can upload a file (nzb) onto a folder on my webspace. This is then checked by the Vista machine at set intervals and sync'd to a local folder. Is there an easy way to do this? |
21-11-2007, 11:51 | #2 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Got this sorted now
Downloaded a copy of Robotask and it looks really good. Loads of options to choose from. Mine is now set so that it logs on via ftp, checks a certain folder and downloads the contents into a local folder, deletes the web folder files and logs off. Runs every 5 minutes |
21-11-2007, 12:21 | #3 |
The Stig
Join Date: Jun 2006
Location: Swad!
Posts: 10,713
|
Download this: http://dwuk.net/misc/wget.zip
Extract the exe and put it in system32. Then schedule this to run as often as you like, changing the source and destination as you need: Code:
wget -r -nd --level=1 -A nzb -N -np -P "C:\my\target\dir" http://www.domain.com/web-folder [edit]That'll teach me to walk away mid post
__________________
apt-get moo |
21-11-2007, 12:25 | #4 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Hehe, cheers Daz. I knew there'd be some kind of script that would do it. As it happens, Robotask is pretty damn good and has loads of options for more tasks so I think I might just stick with it for now.
Hoping to setup an old spare machine for file serving and downloads. This will now automate the whole process |
21-11-2007, 12:30 | #5 |
The Stig
Join Date: Jun 2006
Location: Swad!
Posts: 10,713
|
Heh, no worries
I'm never a fan of those sorts of apps myself as they're usually not free, require someone to be logged in and are pretty much exclusive to windows. These days when I want something like this I either use linux utilities ported to Windows (as I know they're free, can be ran without being logged in, and I can run them on either windows or linux as I need), or write scripts in languages I can use on either OS. I try to blur the lines between what I can and cant do in each OS as best I can these days
__________________
apt-get moo |