How to download files from an ftp server base on the posting times?

  • Thread starter Thread starter ajmister
  • Start date Start date
A

ajmister

Hi
I am creating an automated script to download files from an ftp
server based on the posting dates. Does anyone have suggestions.

Ajay
 
I am creating an automated script to download files from an ftp
server based on the posting dates. Does anyone have suggestions.

I use 4NT's built-in transparent file support for ftp, combined with its
Date Ranges. E.g. to copy files which have been created today:
COPY /[d-0] "ftp:somedir/*.*"
or copy all files created since 21-Jan-2005:
COPY /[d2005-01-21] "ftp:somedir/*.*"

4NT's FTP support is documented at
<http://jpsoft.com/help/ftpservers.htm>,
<http://jpsoft.com/help/iftp.htm>; date ranges are documented at
<http://jpsoft.com/help/dateranges.htm>, which contains this caution:
"Date and time ranges may not always work as you expect across
a network, including on FTP or HTTP servers, due to differences
in time zone and file time storage method between the local and
remote systems."
 
Back
Top