SESSIONLOG Control the session log file |
Top Previous Next |
If the [ file name ] argument is present, this script command creates a new session log file by this name. It is also implied that logging is to be turned on. The session log file records diagnostic messages that may be helpful in troubleshooting secure (SSH/SSL) file transfer failures. Information about normal (non-secure) file transfer sessions does not appear in this file.
The following command specifies a secure session log file and enables logging if it isn’t already enabled.
SESSIONLOG "new_session.log"
The following command specifies a secure session log file, deletes the currently defined file (if any) and enables logging if it isn’t already enabled.
SESSIONLOG "new_session.log" /delete
If [ file name ] is omitted, the /on and /off options control logging to a previously defined log file. When logging is turned on, new log messages are appended to the existing log file. For example:
SESSIONLOG /on
If this command is issued when connected to a secure FTP site, any changes to the session log file will take place after logging off and back on again.
Related Command(s): LOG, TRACELOG , TRACEWIN, WORKINGDIR
|