SILENT Make ScriptFTP to show only essential information
Since version 4.1 this command has been replaced by OUTPUTDETAIL(SILENT)
ON: When silent is enabled ScriptFTP will only show errors, transferred files and the PRINT messages. All information other than that about the script run will be suppressed.
OFF: Default. All messages are shown.
This command always returns “OK”.
The script output of the above example is the following. Note that the commands are not shown:
# Display and log transferred files and errors only SILENT(ON) # Log script run to a text file LOGTO("C:\logs\TransferLog.txt") # Connect to server OPENHOST("ftp.host.com","myuser","mypassword") # Create the remote directory /sources MKDIR("/sources") # Disable silent mode SILENT(OFF) # Change current remote directory CHDIR("/sources") # Reenable silent mode SILENT(ON) # Upload files PUTFILE("C:\PICS\*.gif") # Close connection CLOSEHOST