Retrieve only most recent file
Posted: Fri Aug 28, 2015 12:10 pm
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
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