Error while deleting the file from local server af - WeOnlyDo Discussion board

Error while deleting the file from local server af (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Prakash Mohan, Tuesday, July 13, 2010, 22:45 (5029 days ago)

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.

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.