How to run FTP Synchronizer from command line?
You can run FTP Synchronizer from command line. It's ideal if you want to schedule FTP Synchronizer or integrate FTP Synchronizer with your business workflow.
The easiest way to generate the command line is to click "Tool → Command Line"
If you want to do it yourself, please read following instructions.
Basic Syntax
For example:
As you saw, there are only two types of parameters:
1) /PROFILE:"<profile-name>"
It means which profile you want to run. You can specify multiple profiles. FTP Synchronizer will execute them one by one. If you want to run all profiles, please simply use /ALLPROFILE.
2) /NOLOG
As there is no UI to show the status of profile. FTP Synchronizer enables the log file as default even if the log of the profile is disabled. You can specify this switch if you really don't need the log.
Remarks
- The profile name is case insensitive
- You need to enclose the profile with quotation marks
- The parameters NOLOG and PROFILE must be capital
Examples
ftpsynchronizer.exe /PROFILE:"Profile 1"
Run "profile1" and save the log as normal
ftpsynchronizer.exe /PROFILE:"Profile 1" /PROFILE:"profile 2" /NOLOG
Run "profile1" and "profile 2", but don't save profile log
Command Line Return Value
The command line returns 0 if no error occurred. Other value indicates an error. Please check the log file for detail error info or receive the email notification.
← Return to FAQ index