There are various ways to upload and download files from a FTP site in Filemaker. One of them is the 360Works_FTPeek plugin, about which I am discussing below
|
To use this plugin we need following steps-
//Register the Plugin, We can use the demo verson of plugin without the registration
> FTPeek_Register(licence key;”Organisation name”) //Use one of following steps to connect to FTP site based on FTP server settings for security reason
>FTPeek_ConnectFTP(host;username;password) >FTPeek_ConnectFTPS(host;username;password) >FTPeek_ConnectSFTP(host;publickey;username;password) //Used this step to get the public key while you are connecting to FTP using FTPeek_SFTP() step
>FTPeek_GetPublicKey(host) //Upload file to FTP site from local end
>FTPeek_UploadFile(remotepath;localpath) //As in filemaker we can keep a file or image in a container field so we can use the step mention below for upload a file to ftp site
>FTPeek_UploadFileFromContainer(remotepath;containerfieldname) //Download file from FTP site to local end
>FTPeek_DownloadFile(remotesourcepath;localfolderpath;newfilename) >ContainField = FTPeekDownloadFileToContainer(remotesourcepath) |