|Subject:||casual EFCreateError when uploading a file|
|Date:||Wed, 04 Oct 2006|
we use Delphi 7 und Indy 10.0.52 devsnapshot from May 2006.
We have strange and rare problems uploading files.
Sometimes a file just can not be "created". The FTP raises
SFCreateErrorEx (could not create file...) w/ syserror 32 (file used by
another process) in TFileStream.Create in Classes.pas (Line 5114).
The File then exists on the drive but is 0 byte large and locked by
We have to close the Resource under "Shared Folders" in "Computer
Management" first to delete the file and retry.
We successfully use the WNetAddConnection2 API function to establish
connection form the FTP Server machine to the destination machine.
We already tried the following circumstances:
FTP server on Win2k machine - destination on a WinNT 4 machine
FTP server on Win2k machine - destination on another Win2k machine
In both situation the error occurs sometimes.
It very urgent so i'll be very happy if someone can help me.
God bless you