FTPList ( URL ; user ; password ; directory )
Creates a calculated Applescript to get the contents of an FTP server directory and copy to the clipboard.
Average rating: 4.3 (32 votes) Log in to vote
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This custom function creates a calculated Applescript to get the contents of an FTP server directory using CURL and copy to the clipboard. Use this function as a calculation for the Perform Applescript script step and follow it with a Paste script step to output the contents of the clipboard to a field.
The file list is returned with extra carriage returns in between each file name. You might want to filter these with a Substitute after pasting into a field.
This will only work on Mac OS X.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.