Page 1 of 1

file info lastModifiedDate

Posted: Thu Feb 25, 2016 6:46 am
by prokopis
hi

am trying to get the file info of a file (last modify date).

a user upload the file to Go Anywhere Services and Services trigger a project on Go Anywhere director. I need to have the last modify day of the file in the remote system, not when the user upload it to Services

I have use the bellow command and it return me the time stamp when the user upload the file to Go Anwyhere Services.
How can I get the actual file creation timestamp on user workstation?


${FileInfo(fullfilepath) :lastModifiedDate}

thanks

Re: file info lastModifiedDate

Posted: Thu Feb 25, 2016 9:17 am
by Support_Rick
prokopis,

The client connecting to you can control this. Usually, there is an option for them to "preserve Timestamp" when they "PUT" the file onto your system. If you can get your 3rd party to do this, then the option you are using below will suffice and actually have the timestamp of the file from the originating system.

Otherwise, you'll have to connect back to them and get a file listing of the file transferred then retrieve the last modified date from that connection on THEIR system.

Hope this helps...

Re: file info lastModifiedDate

Posted: Thu Feb 25, 2016 1:45 pm
by prokopis
at the moment user upload file to Go Anywhere Services using the https (Go Anywhere Gateway) in which it change the timestamp with the current date time.

is there any configuration in Go Anywhere Services that can preserver file timestamp?

Re: file info lastModifiedDate

Posted: Fri Feb 26, 2016 12:30 am
by prokopis
user is upload the file using the Go Anywhere Gateway at the moment. can I configure it in order to preserver the timestamp?

thanks

Re: file info lastModifiedDate

Posted: Wed Mar 02, 2016 12:33 am
by Support_Rick
Timestamp preservation is controlled by the client, not the listener.