IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to check the time that file got FTPed using FTP utility


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Anusha Challa

New User


Joined: 06 May 2008
Posts: 14
Location: Hyderabad

PostPosted: Thu Mar 11, 2010 4:53 pm
Reply with quote

I am using FTP utility to send the file to UNIX system. I need to know at what time that file got FTPed
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 11, 2010 6:17 pm
Reply with quote

1. Look at the time the job ran in the system log.
2. Look at the time the FTP step ran in the job output.
3. For my FTP batch jobs, there is a date and time stamp on the first line of the FTP output so look at the FTP output.
4. Issue a LIST (or DIR) command after the PUT and before the QUIT to get the file information, which usually includes a date and time stamp.

If you are looking for an FTP command that will tell you this, there is no such thing. Furthermore, if you're sending a file across 5 time zones, are you wanting the time on the sending side or the receiving side?
Back to top
View user's profile Send private message
Anusha Challa

New User


Joined: 06 May 2008
Posts: 14
Location: Hyderabad

PostPosted: Thu Mar 11, 2010 6:42 pm
Reply with quote

Thanks for your reply...

yes i need timestamp in FTP log.. I shall try this LIST/DIR command
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top