Skip to content

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.
  • prokopis Offline
  • Posts: 4
  • Joined: Tue Jun 02, 2015 6:08 am

file info lastModifiedDate

Post 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
  • Support_Rick Offline
  • Support Specialist
  • Posts: 590
  • Joined: Tue Jul 17, 2012 2:12 pm
  • Location: Phoenix, AZ
  • Contact:

Re: file info lastModifiedDate

Post 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...
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
  • prokopis Offline
  • Posts: 4
  • Joined: Tue Jun 02, 2015 6:08 am

Re: file info lastModifiedDate

Post 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?
  • prokopis Offline
  • Posts: 4
  • Joined: Tue Jun 02, 2015 6:08 am

Re: file info lastModifiedDate

Post 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
  • Support_Rick Offline
  • Support Specialist
  • Posts: 590
  • Joined: Tue Jul 17, 2012 2:12 pm
  • Location: Phoenix, AZ
  • Contact:

Re: file info lastModifiedDate

Post by Support_Rick »

Timestamp preservation is controlled by the client, not the listener.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Post Reply