I am working on a project (my first!) where I will be connecting and looking for a file with a specific prefix. The partner puts a file out there every day but I only need the most recent file. Most days there will be just one but in the case that there is more than one, I only want the most recent one. I have no way to control the file name so it will be different every day since it will include a date and time stamp.
How do I do this with GoAnywhere Director? I thought about using a filter that only downloads a file with today’s date but in the off chance there were two files on one day, I still just want the most recent file. Any help is greatly appreciated!
At this time, I'm trying to only download the files from today and then do a loop to only grab the last one but would love to find a simpler way!
TIA, Kathleen
Retrieve only most recent file
Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
- Support_Rick Offline
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
- Contact:
Re: Retrieve only most recent file
Kathleen,
Did the code and discussion we had help with this solution?
Did the code and discussion we had help with this solution?
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696