file info lastModifiedDate

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
5 posts Page 1 of 1

prokopis

Posts: 4
Joined: Tue Jun 02, 2015 6:08 am

Post by prokopis » Thu Feb 25, 2016 6:46 am
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

Support_Rick

Support Specialist
Posts: 590
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Thu Feb 25, 2016 9:17 am
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...
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

prokopis

Posts: 4
Joined: Tue Jun 02, 2015 6:08 am

Post by prokopis » Thu Feb 25, 2016 1:45 pm
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?

prokopis

Posts: 4
Joined: Tue Jun 02, 2015 6:08 am

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

thanks

Support_Rick

Support Specialist
Posts: 590
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Wed Mar 02, 2016 12:33 am
Timestamp preservation is controlled by the client, not the listener.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
5 posts Page 1 of 1