Operations:
1 FTP Server running on IIS offers ftp service.
2 I write a VB ftp program to download a file.
3 To download the file I run the API:
bRet = FtpGetFile(hConnection, szFileRemote, szFileLocal & "/" & szFileRemote, False, _
INTERNET_FLAG_RELOAD, dwType, 0)
4 File download successful.
Problem: File is locked on the server. It cannot be deleted or updated. Restarting IIS doesn't help. Only way to unlock file is to restart the server.
Any clues as to why this happens?
Thanks,





penyou! 

Reply With Quote