Brian Dunning's FileMaker Custom Functions

FTPCopy ( URL ; user ; password ; directory ; file ; localdirect

Creates a calculated Applescript to copy a file from a directory on an FTP server to a local folder.

  Average rating: 4.2 (34 votes) Log in to vote

Greg Torok   Greg Torok - Show more from this author
Northwest Radiologists
http://nwrads.com

Share on Facebook Share on Twitter

  Sample input:
FTPCopy ( 127.0.0.1 ; "admin" ; "password" ; "TestFiles/TestFile1.txt" ; "Home/Localfiles" ; "MyTestFile1.txt" )
  Sample output:
Use within a Perform Applescript command to download files via FTP

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This custom function creates a calculated Perform Applescript command which will use the Mac OS X cURL program to copy a file from a given FTP server to a local directory.

Use this calculation inside of a Perform Applescript script step. Works only on Mac OS X.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: