In addition to the graphical user interface, there is a command-line tool.
The command-line interface can be accessed from batch .bat files. So, you can use the Hitonic FTPSync application to automate website deployment via FTP-protocol.
Results of the command-line tool can be controlled with a return code. In this way, you can ensure that an operation is completed successfully.
Command line syntax:
FTPSyncCmd.exe [<project_file_name>] [<key>]*
The FTPSyncCmd.exe file is located in the folder into which the application was installed (usually "C:\Program Files(x86)\Hitonic\FTPSync").
The <project_file_name> argument is a path to the project file. You must create this file by Hitonic FTPSync before using the command-line tool.
-?, /?, -h, /h, -help, /help - show the help
-u, /u, -update, /update - update files on the FTP server
-l, /l, -list, /list - list required changes on the FTP server (there is no real update)
-q, /q, -quiet, /quiet - "quiet mode" (without a full log)
0 - OK
2 - command line argument error
3 - process time error (for example, no connection to an FTP server)
FTPSyncCmd.exe MyProject.ftpsync -update - update changes on the FTP server using the MyProject.ftpsync project file
FTPSyncCmd.exe MyProject.ftpsync -u -q - update changes on the FTP server using the MyProject.ftpsync project file in the "quiet mode"
FTPSyncCmd.exe MyProject.ftpsync -list - show required changes on the FTP server using the MyProject.ftpsync project (files on an FTP server are not changed)