IFTPConnection::DownloadFileEx keep file locked

Hello,

I have the following problem. I use IFTPConnection::DownloadFileEx to download file, it is downloaded just fine. However even though method returned downloaded file is still locked for some time (i.e. CreateFile on it returns ERROR_SHARING_VIOLATION). Am i doing something wrong, or is it just bug in smartftplib? After some time file becomes unlocked again.


Thanks.

Hello.
What is your license key id and what version of the FTP Library are you using?

I'm using latest version 2.0.111.0. id:400081860

Thank you. Can you provide a sample (C#/C++/VB.NET) which reproduces the problem?


Thank you. Can you provide a sample (C#/C++/VB.NET) which reproduces the problem?


You can download sample C++ (Visual Studio 2010) project here.
Don't forget to enter your ftp login information and ftp remote file info in ftp_test.h

File locking doesn't happen 100% of the time. Sometimes its unlocked sometimes its not.
My test machine is Windows XP Pro SP3.


Thanks

I have sent you the new version of sfFTPLib by email.

problem is fixed in 114, thanks