Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
PhilHibbs
Creator II
Creator II

Getting the ctime of a file

Is there any way to get the ctime (created timestamp) of a file? tFileProperties only has the mtime.

Labels (2)
2 Replies
Anonymous
Not applicable

Hello,

There should be a new feature. Could you please create a new feature jira issue on talend bug tracker?

Best regards

Sabrina

RCundiff
Contributor
Contributor

I have this same problem. We need to process a large volume of files using both the mtime (modified) and ctime (created). These are different values and are used for different parts of the data move processes.

 

For example:

1) The files are downloaded from an SFTP site. This sets the create date on the files to when they were downloaded to local storage.

2) The mtime is the last modified date, which in this case is actually when the file was originally created before it was uploaded to the SFTP site.

 

For the processing, we check the Created time for determining when the file was downloaded. This is used to see if we are ready to place the files on the Archive storage yet, or we need to wait a while. The Modified time is used for setting up the folder structure where the files will be placed for long term storage. That way, we only move the files to Archive when they have been on our systems for a defined period of time. But if someone needs to look up a file in the Archive, they are looking based on when the file was originally created on the system we received them from.

 

How do we go about putting in a Feature Request to get this capability?