get todays files

Andrew D andrew at doadesweb.co.uk
Wed Dec 10 19:14:46 CET 2008


On Dec 10, 6:13 pm, Steve Holden <st... at holdenweb.com> wrote:
> 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 ...
>
> regards
>  Steve
> --
> Steve Holden        +1 571 484 6266   +1 800 494 3119
> Holden Web LLC              http://www.holdenweb.com/

Thank you anyway Steve!

Lets hope someone has the code ;)

Andrew



More information about the Python-list mailing list