Hi, I'm using edtFTPnet/PRO with secureFTPConnection. I set logfile property so I can log FTP communication. After I close the connection and I dispose the connection object, I can't delete log file because it's in use by application. I can delete only end the program:
ftpObject.ServerAddress = mFTPServer
ftpObject.UserName = mFTPUser
ftpObject.Password = mFTPPassword
ftpObject.ServerPort = mFTPPort
ftpObject.Protocol = mFTPProtocol
ftpObject.LogFile = "c:\logfile.txt"
ftpObject.Connect()
ftpObject.UploadFile(strFileSource, strFileDestination, False)
ftpObject.close
ftpObject.dispose
After this I can't delete file until I end the application. Why this ?
Thanks Filippo