get todays files

Steve Holden steve at holdenweb.com
Wed Dec 10 12:55:17 EST 2008


Andrew D wrote:
> I have a script that will login to my ftp server and download all the
> backup files, but I want it to only download the files that were
> created today, e.g. if I ran the script today I want it to only fetch
> files created today.
> 
> I am really not sure about how to do this, but it is quite important
> to me, so all help is highly appreciated!
> 
IIRC there's an "ftpmirror" script in the Tools directory (if you're on
Windows - Linux/Unix users have to download the source). I adapted it to
several different purposes.

regards
 Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list