Enter search queries below or use the tag links to the right to browse the knowledge base by category (Show All Tags).
How can I download files from a FTP site that have all been modified on the same date, say the first day of each month?
Use the GETSITEFILE command to get information about file(s) on the FTP site. When this command is run the date of the file is automatically saved in a script variable named %sitefiledate.
Then use the IFDATE command to do a date comparison to determine if it is the first day of a given month. Do all of this inside a loop that looks at all the files in a given directory tree on the server.
Tags: Robo-FTP
