Cant get Attributes of file -> getFiles and Put files error
Hi
I have 2 issues.
1. I am fetching files from FTP server and i get the following error message
Can't get attributes of file '/Cont/Care/DCN-2013119Z0000119.pdf'.
session.GetFiles("/Cont/Care/DCN-2013119Z0000119.pdf", "p:\FT Files\DCN-2013119Z0000889.pdf").Check()
But the file has been successfully downloaded. I am getting this issues not every time but most of the times.
2. While transferrinf files from my local machine to remote server path the code is shown below
transferResult = session.PutFiles("P:\FT Files\Outbound\DCN-2013119Z0000119.pdf", "/Cont/Care/DEV/IN/", False, transferOptions)
i. Nothing happens no exception, file transfer does not happen.
ii. Some times the file gets tranferred.
iii. i also get an exception Folder does not exist sometimes.
All the above 3 happen randomly. I have been given the following permissions rwxr-x---
Could you please tell me if these are bugs in the current system. What shold i do in these 2 cases.
I have 2 issues.
1. I am fetching files from FTP server and i get the following error message
Can't get attributes of file '/Cont/Care/DCN-2013119Z0000119.pdf'.
session.GetFiles("/Cont/Care/DCN-2013119Z0000119.pdf", "p:\FT Files\DCN-2013119Z0000889.pdf").Check()
But the file has been successfully downloaded. I am getting this issues not every time but most of the times.
2. While transferrinf files from my local machine to remote server path the code is shown below
transferResult = session.PutFiles("P:\FT Files\Outbound\DCN-2013119Z0000119.pdf", "/Cont/Care/DEV/IN/", False, transferOptions)
i. Nothing happens no exception, file transfer does not happen.
ii. Some times the file gets tranferred.
iii. i also get an exception Folder does not exist sometimes.
All the above 3 happen randomly. I have been given the following permissions rwxr-x---
Could you please tell me if these are bugs in the current system. What shold i do in these 2 cases.
Last edited by vishnr on 2013-05-06 11:36; edited 1 time in total