Brian Dunning's FileMaker Custom Functions

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

Creates a calculated Applescript to move a file from a directory on an FTP server to a local folder and delete the original from the FTP server.

  Average rating: 3.8 (38 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:
FTPMove ( "127.0.0.1" ; "admin" ; "password" ; "Home/TestFiles" ; "TestFile1.txt" ; "Home/MyTestFiles" ; "MyTestFile1.txt" )
  Sample output:
Use this in a Perform Applescript script step to copy a file from an FTP server to a local directory and delete the original.

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

This custom function creates a calculated Perform Applescript script step which uses the Mac OS X cURL function to copy a given file from the FTP server to a local directory and delete the original from the FTP server.

 

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: