<< back to sysax.com Product page

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

Exhibit 10.2. table title

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