Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: Download Files from a folder with a dynamic name each day

How do you get that to work for a previous day to select a directory? So if I logged onto the FTP site right now the most recent directory is 03302016 and the files inside of that directory have a date/time stamp of today.

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:


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?