Download Files from a folder with a dynamic name each day

Advertisement

mspiegel@...
Guest

Download Files from a folder with a dynamic name each day

I'm looking for help with writing the proper syntax to download files from a folder on a FTP site that is stored in folders by date.

The folder structure is as follows:

03212016
03222016
03232016
03242016

The files inside of each folder have a date/time stamp of the calendar day that follows. i.e. folder 03212016 has files with a date/time stamp of 03222016hhmmss



What's the proper script to write to automate the process so I can have WinSCP download the files from the correct folder each day?

Thanks

Reply with quote

Advertisement

You can post new topics in this forum