Re: Downloading all files older than 3 hours from a ftp-server.

2005-03-16 Thread Fredrik Lundh
Christos TZOTZIOY Georgiou wrote:

 ISTR seeing a parsedate (or similar) for ftp sites by the effbot, but I am not
 sure.

you can get bindings for

http://cr.yp.to/ftpparse.html

from

http://c0re.23.nu/c0de/ftpparsemodule/

or

http://effbot.org/downloads/#ftpparse

/F 



-- 
http://mail.python.org/mailman/listinfo/python-list


Downloading all files older than 3 hours from a ftp-server.

2005-03-15 Thread Thomas W
I need to download all files older than 3 hours from a ftp-server.
What's the easiest way to this? I've looked into the standard ftplib,
but it seems like the only way to go is to parse the
ftp.retrlines('LIST') command and that seems to be very easy to mess
up. 

any hints? 

Best regards,
Thomas W

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Downloading all files older than 3 hours from a ftp-server.

2005-03-15 Thread TZOTZIOY
On 15 Mar 2005 00:38:20 -0800, rumours say that Thomas W
[EMAIL PROTECTED] might have written:

I need to download all files older than 3 hours from a ftp-server.
What's the easiest way to this? I've looked into the standard ftplib,
but it seems like the only way to go is to parse the
ftp.retrlines('LIST') command and that seems to be very easy to mess
up. 

any hints? 

google brings this up:

http://www.sschwarzer.net/python/ftputil.html

ISTR seeing a parsedate (or similar) for ftp sites by the effbot, but I am not
sure.
-- 
TZOTZIOY, I speak England very best.
Be strict when sending and tolerant when receiving. (from RFC1958)
I really should keep that in mind when talking with people, actually...
-- 
http://mail.python.org/mailman/listinfo/python-list