FTP file creation date
Baillargeon, Sonny
Sonny.Baillargeon at bmonb.com
Wed Oct 27 12:25:53 EDT 2004
I've done something similar using the pexpect module. You can get the
child.before/after from an ls command and do some regexp against it to
find the filename and file date fields.
-----Original Message-----
From: [ EuGeNe ] [mailto:eugene at boardkulture.com]
Sent: Wednesday, October 27, 2004 11:28 AM
To: python-list at python.org
Subject: FTP file creation date
Hi all,
I would like to write a script that downloads one file from a ftp server
if the file creation date satisfy a condition.
I can't figure out how to find from a ftp server what is the creation
date of the file (using python).
Any idea?
Thanks for your help!
EuGeNe
<FONT SIZE = 1>****************************************************************************
This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. Unless otherwise stated, opinions expressed in this e-mail are those of the author and are not endorsed by the author's employer.</FONT>
More information about the Python-list
mailing list