Search

GlobalSCAPE Knowledge Base

Session and transfer log files are automatically deleted when CuteFTP is closed

CuteFTP

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • CuteFTP® (All Versions)

SYMPTOM

I need to save copies of all transfer log files. CuteFTP has been configured so that the error logs and successful transfer logs should be retained however when I close CuteFTP, the log files are still being deleted.

RESOULTION

By default, log files for successful transfers are deleted when the transfer is removed from the transfer queue, usually immediately after the transfer is finished. Additionally, session log files are retained only while the session is active.

There are two undocumented log file options which are not exposed to the GUI: DeleteItemLogFiles and DeleteSessionLogFiles. These two options control logs after transfers and sessions are closed and deleted from the TE. Both options must be configured in the registry.

Caution:  The following steps involve editing the Windows registry on your computer. Incorrectly editing the registry may severely damage your system. These instructions are intended for the advanced user who is prepared to both edit and restore the registry. We recommend that you backup the registry before proceeding.

To make changes, follow these steps:

  1. Start the Registry Editor and navigate to the following subkey:
    HKEY_CURRENT_USER\Software\GlobalSCAPE\CuteFTP 9\Settings\LogWindow
  2. To keep session logs when the session is closed, change the value for the entry named  
    DeleteSessionLogFiles to 0.
  3. To keep item transfer logs after the transfer is deleted from the transfer queue, change the value for the entry named DeleteItemLogFiles to 0.

The following options are available:

DeleteSessionLogFiles = 1 (default) (The session log is deleted when the session is closed.)

DeleteSessionLogFiles = 0 (The session log is not deleted when the session is closed.)

DeleteItemLogFiles = 1 (default) (The transfer log is deleted when the transfer item is removed from the transfer queue.)

DeleteItemLogFiles = 0 (The transfer log is not deleted when the transfer item is removed from the transfer queue.)

Details
Last Modified: 10 Months Ago
Last Modified By: kmarsh
Type: PRB
Article not rated yet.
Article has been viewed 9.2K times.
Options
Also In This Category