A user writes:
I have a technical question about the Logging implementation in the edtFTPnet component. I see that the logging settings are set using shared properties of the FTPConnection object. I have verified that after all open connections are closed the File specified in the FTPConnection.LogFile property remains locked. I was trying to manually append some information in the log file when I got an error that the file was in use by another process.
This made me wonder, When does the handle to the Log File get released? If it never gets released we could have a memory leak. I know for a fact that closing the last open FTP connection does not release the handle to the Log File. Can you tell me when the handle to the Log File actually gets released / flushed / closed?
It'll get closed if you use Logger.Shutdown().