Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.9k views
in .NET FTP by (580 points)
hi,

So I have set my LogFile for my Ftp.SecureFTPConnection object, and all works fine, excpet that I find that I cannot later delete this file, either in code or even by browsing to it in Windows Explorer and trying to do so manually... I get a "File in use" error.... it seems the LogFile isn't being closed properly after use.... How can I ensure that it is?

Thanks...

1 Answer

0 votes
by (162k points)
Call Logger.Shutdown() to shutdown all appenders - this should close the file.

Categories

...