Re: FTP file creation date

From: Steve Holden (steve_at_holdenweb.com)
Date: 10/28/04


Date: Wed, 27 Oct 2004 21:38:17 -0400


[ EuGeNe ] wrote:
> 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

Take a look at the ftpmirror.py script that comes in the Tools
directory. It might give you some ideas.

regards
  Steve

-- 
http://www.holdenweb.com
http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119


Relevant Pages

  • Re: FTP in ASP.NET C#
    ... It has native .NET classes that will allow you to use the FTP protocol. ... >I would like to have my application FTP a file to a server after a user ... > ' This script assumes the file to be FTP'ed is in the same directory as ... > ' If there are multiple files to put, we need to use the command ...
    (microsoft.public.dotnet.languages.csharp)
  • Script endlessly looping
    ... The following script has a loop that executes ftp to look for a trigger ... trigger file and renames the data file on the remote server. ...
    (comp.unix.shell)
  • Re: Why would it appear to my scripts that a server theyre connecting to has gone away (using Net::F
    ... ftp server. ... LWP::DebugFile is sufficient to prevent the script from freezing or ... and uses ftp to transfer files from a clients web server to their ... LWP is asked to retrieve a few MB from the same server (in the LWP ...
    (comp.lang.perl.misc)
  • Re: how to encrypt password stored in ftp script
    ... I need that script to run everyday automatically on machine ... people form modifying script to access the FTP server for different ... uploading from the system, is to find the most secure way of doing it, ...
    (comp.lang.perl.misc)
  • Re: FTP Upload
    ... I have had an FTP script transferring files between my SBS2K3 server ... No problems until a few weeks ago when suddenly the command line FTP ... I then removed the SBS firewall completely and lo ...
    (microsoft.public.windows.server.sbs)