Error while deleting the file from local server (General questions)
Hi,
I am using weonlydo ftpDLX component for SFTP file transfer in my VB.Net code. My application throws an error while deleting the file from local server after the file has been transferred to remote SFTP server successfully. Steps I am doing
1. Creating the file in local server called path1file1.dat
2. Copying the file in same local server in different path and file name called path1path2file2.dat
3. Delete the path1file1.dat file.
4. Connect the remote SFTP server.
5. Transferred path1path2file2.dat file to remote SFTP server path2file2.dat.
6. Disconnect SFTP connection.
7. Delete path1path2file2.dat file from local server – System throws an error.
Error message: The process cannot access the file because it is being used by another process.
I am not sure what’s causing the issue. Sometimes the file has been deleted without any issue and most of the times it throws an error. Please help me to resolve this issue.
Re: Error while deleting the file from local serve
Hi Prakash,
I tried to duplicate your problem using your instruction but for some reason I wasn't able to duplicate it.
Which exactly component you are using? We have wodFtpDLX ActiveX component and wodFtpDLX.NET component.
Also which version of component you are using? You can check version using component Version Property.
Regards,
Drazen
Re: Error while deleting the file from local serve
Hi Drazen,
Thanks. I am using wodFtpDLX.NET component.
Regards,
Prakash M
Hi Prakash,
I tried to duplicate your problem using your instruction but for some reason I wasn't able to duplicate it.Which exactly component you are using? We have wodFtpDLX ActiveX component and wodFtpDLX.NET component.
Also which version of component you are using? You can check version using component Version Property.
Regards,
Drazen
Re: Error while deleting the file from local serve
Prakash,
I tried to duplicate this again but it works for me. Is there any chance you can send us some sample that will duplicate it?
Also which version of wodFtpDLX.NET you are using? You can check version using wodFtpDLX.NET Version Property.
Here is example:
------------------------------------------
MsgBox(dlx1.Version)
------------------------------------------
Drazen