decorative banner

Previous | Next               Table Of Contents > 10 Command line script parameters > 10.2 Specifying log files

10.2 Specifying log files


The following switches are related to log file generation.

-logfile                  generate an output log file

-tslogfile                generate a time stamped output log file

-append                   append to log file generated during previous run (default is overwrite)

-append <max file size>   roll over the log file after the maximum file size specified in bytes

 

Some examples are

ftpshell -script "test.fscr" -tslogfile "test.log" #generate a time stamped log file

ftpshell -script "test.fscr" -logfile "test.log" -append 200000 #rollover the appended log file every 200000 bytes


Previous | Next