1 Reply Latest reply on Dec 15, 2014 4:20 PM by bshopp

    FTP Voyager Download Most Recent File

    wfieweger

      Hello,

       

      I am new to FTP voyager and have scheduled a task to retrieve a remote file and download to server's local temp drive. My problem is that there are multiple remote files with the same name, but they are different and can be differentiated based on date. How do I select the most recent file? For further clarification I will include an example of the contents of the remote folder I am looking to download:

       

      ihdPURCHASE.txt
      ihdPURCHASE.txt
      ihdPURCHASE.txt
      ihdPURCHASE.txt


      While sharing the same name, all of the aforementioned text files are different and in size and the date on which they were modified.

       

      Also, I have tried writing the remote file or folder as the following: /ihdPURCHASE.txt/%m-%d-%Y which has not worked. When I try to write /ihdPURCHASE.txt/%m-%d-%Y/ the last forward slash is always cut off.

       

      Thank you in advance for any help.