FTP - Loop Files on Server, Prompt Download Choice

Execute the "long list" command and populate a dataset with the results

This is a pretty sweet task. It do the following:

1. Logon to a FTP server
2. Execute the "long list" command using Automate's FTP Advanced action and populate a dataset with the results
3. Loop through the dataset, which is a list of files on the server, and give the user the choice to download file or not.

A cool feature you might want to try implementing would be to only prompt the user to download the file if it is a file (skip folders). This can be done by using an IF or SELECT/CASE statement on the value of the FTPFileType attribute of the dataset the task loops. 

Enjoy!

Task Category:

FTP