-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Weller wrote:
> Hi!
> I use wget to download files from a ftp server in a bash script.
> For example:
> touch last.time
> wget -nc ftp://[....]/*.txt .
> find -newer last.time
> 
> This fails if the files on the FTP server are older than my last.time. So I 
> want
> wget to set file date/time to the local creation time not the server's...
> 
> How to do this?

You can't, currently. This behavior is intended to support Wget's
timestamping (-N) functionality.

However, I'd accept a patch for an option that disables this.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
GNU Maintainer: wget, screen, teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIm2si7M8hyUobTrERAi9AAJ0f8TUv7TJR6tFsgc4k174rqH6OlgCghCzz
xpemaFdQhODIm0SGp7rJSRA=
=vDKD
-----END PGP SIGNATURE-----

Reply via email to