Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP file date

Status
Not open for further replies.

junho

MIS
Dec 3, 2004
3
US
Hi,
I am downloading files from remote FTP server to archive the files into a folder via FTP.exe with FTP commands. It works fine without any problems.

However, I would like to capture the "file created date" of the file on the FTP server. To be more specific...

This is what it shows about the file on remote FTP server.
File 2050301Sale.csv 3/1/2005 12:02 AM

If I use the FTP task of DTS of above file on 3/1/2005 3:00 AM, then the file on a local box shows...

File 2050301Sale.csv 3/1/2005 3:00 AM

Anyways to bring in the 12:02 AM part instead of over-writing it with whatever the current time?

Thanks,
Junho
 
Do you have the option of just putting the time into the file name like from 0000 to 2359 ?

20503010002Sale.csv
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top