Since version 4.1 this command has been replaced by OUTPUTDETAIL(VERBOSE)

Syntax:

VERBOSE(mode)

  • mode:
    OFF: This is the default. ScriptFTP will show the command calls, command messages and any errors encountered during the script run.
    ON: ScriptFTP will also show the dialog with the FTP server, DNS resolving issues and connection loss messages. Under certain circumstances it may also show internal messages.

Remarks:

Use this command to find out in detail what is happening during the script run. ScriptFTP will show the following information:

  • The dialog between ScriptFTP and the FTP server.
  • DNS resolving issues.
  • Connection loss messages.
  • Debug information about the status of ScriptFTP or the command currently executed.

Disabling the verbose mode with VERBOSE(OFF) sets the output mode back to normal disabling the silent mode if enabled.

This command is usually put at the beginning of a script file.

Return value:

This command always returns “OK”.

See also:

SILENT
LOGTO
PRINT

Example:

# Enable verbose mode
VERBOSE(ON)
 
# Connect to server
OPENHOST("127.0.0.1","myuser","mypassword")
 
# Upload files
PUTFILE("*.*")
 
# Close connection
CLOSEHOST

The output of the script above is the following:

 

verbose_example