The SmartFTP Client Software Development Kit (SDK) offers you the ability to extend SmartFTP and it allows you to automate SmartFTP. The objects are accessible through COM interfaces which can be used in any modern language.
Provided SamplesThe samples shown here are part of the SDK setup that can be downloaded below.
Dynamic Transfer Queue Item Destination PathProgrammatically changes the destination path when a specific transfer queue item is processed.
Dynamic Transfer Queue Item Source PathProgrammatically changes the source path when a specific transfer queue item is processed.
Move source items after transfer to another folderMoves the files and folders that have been transferred to a different folder on the source.
Move local file to final destinationMoves (or copies) local files have been transferred to a final destination folder.
Downloads files to a final destination folder with skipDownloads files to a temporary folder and then moves them to a final folder. Files that already exist in the final folder will be skipped.
Setups a script with arguments for each file that is being addedFor each file that is being added to the transfer queue, the script file and arguments of the transfer queue item are set. This script is typically used for folders.
Encrypts file using openpgp before it is uploadedThe file is encrypted and alternatively signed with OpenPGP (requires GPGP) before it is uploaded. Can be combined with ApplyToFilesRecursively.js if complete content of a folder should be encrypted.
Filters files by dateFiles for which the last modified date is not within a date range are skipped. E.g. only transfer files from the last 7 days.
Add Items to Transfer QueueCreates new items and adds them to the transfer queue in a running instance of SmartFTP.
Create new FavoriteCreates a new favorite item and saves it to an XML file.
Imports Favorites from CSV fileParses a CSV file, creates the favorites and saves them as xml files.
Manage BrowsersGets the current location of all open browsers. Opens new browsers or closes existing ones.
Transfer StatisticsPolls SmartFTP for the current upload and download rate and writes the data to a csv file.
Location: Samples\TransferQueue\Performance Counter
Transfer Statistics using RRDtoolUses RRDtool to generate transfer statistics.
IdeasFollowing some ideas of applications and plugins that can be created using the SDK.
- Import Favorites/Sites from other applications/database to SmartFTP.
- Export favorites to a database
- Fill transfer queue with items from a database, text file or RSS feed.
- Create application which uses transfer queue to automate transfers.
- Create Windows service to backup/synchronize files using the transfer queue.
- Run commands, update a file, write a log or notify users after a transfer queue item has been processed.