get todays files
steve at holdenweb.com
Wed Dec 10 19:13:22 CET 2008
Andrew D wrote:
> On Dec 10, 5:55 pm, Steve Holden <st... at holdenweb.com> wrote:
>> 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.
> Thanks Steve,
> I don't want to sound rude here, but I really want some code to add to
> my script so that it will only download todays files.
That's OK. Maybe somebody's already got that code ready to go. I don't ...
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list