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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding date/Time of FTP'd files

Status
Not open for further replies.

Chunkus

Technical User
Jun 12, 2003
24
GB
Hi

I regularly FTP files from a UNIX server. I need to determine the date/time when these files were created (and NOT the date/time I FTP'd them).

A batch file is ran from my windows PC that:
Creates an FTP connection
Logs on to the UNIX server
Transfers the files from the Unix server to my PC
(all in Unix code)

Can somebody supply some UNIX script that could also return the date/time when the FTP'd files were created (date/time).

Regards

Jason
 
in ftp, mdir will create a local file listing all
files, with datetime stamps, in the current remote directory.
Do man ftp for more info.

Dickie Bird (:)-)))
 
Thanks a lot Dickie.
Worked a treat!....

[2thumbsup] [2thumbsup] [2thumbsup] [2thumbsup] [2thumbsup]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top