Hello,
I'm using wget 1.10.2 on windows to mirror an ftp directory.

essentially one line:
wget --timestamping ftp://ftp.com/pub/updates/* -o ..\Update.log

an local application then scans through the resulting files for valid updates.

As the update directory has grown over the years to several thousand files, the local application takes too long scanning the downloaded files.

Neither the ftp directory nor the application are under my control to modify. The only possibility I have, is limiting the number of update files stored locally. it would help if wget could be limited to only retrieve modified files with dates from 1/1/2007 onwards.
Something like -z option in the curl application curl -z 20070101 ...
(curl won't do because it downloads only one file at the time and that would need ftp listing parsing and too much scripting to make it work)

the command (line) i'm after, would be something like:

wget --timestamping -z 20070101 ftp://ftp.com/pub/updates/* -o ..\Update.log

Can wget do this?

regards
glenn

Reply via email to