Question
Coforge
SG
Last activity: 6 Nov 2019 2:37 EST
"File does not exist or cannot be read:" error in Connect-FTP
Hello All
While Using Connect-FTP method, I am getting the following error - "File does not exist or cannot be read:Folderpath\" This is happening with the path i have mentioned in Local path. Can any one please tell what kind of files are supported by Connect-FTP method. I have tried with a .txt format file. I have full read write access to that local folder. Does anyone faced this kind of problem before. Any kind of help would be really appreciable.
Best regards
Rajasekar
***Edited by Moderator: Pallavi to update platform capability tags***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi Rajasekar,
Can you please share your File Listener configuration? interested to see what is configured for source mask , you can locate this label below file location input
.txt should work.
Coforge
SG
Hello Arvind,
Thanks for replying. I guess you have misunderstood the context. There are no file listeners involved here. This is issue is happening when we configure a SFTP server and use Connect FTP method in Activity. I hope this clears your doubt.
Best regards,
Rajasekar
Pegasystems Inc.
US
Hi Rajasekar,
Had you gone through the Pega documentation related to Connect-FTP? If not please go through over here which might help you to configure it with right parameter values. If you still see the issue share the tracer log along with the screen shot of your configuration to troubleshoot it further.
Note: Pega 8.1 documentation has been shared as i am not sure about your Product version.
Regards
Mahesh M
Coforge
SG
Hello Mahesh,
I am using PEGA 8.1 only. I have implemented only after going through the document of Connect-FTP. I have attached the tracer screenshot with errors and configuration with the post itself. please let me know if you need any further information.
Local path : "D:\\NewTextDocument"
Remote path: "C:\\Users\\P0500260\\Downloads\\RebexTinySftpServerBin-1.0.5\\data"
Best regards
Rajasekar
Pegasystems Inc.
US
Thanks for sharing the requested information and after cross checking the configuration screen shot noticed that you had not provided the filename with its extension in the Local file property of the Connect-FTP method, instead you had provided only "D:\\NewTextDocument". For example, "D:\\NewTextDocument\\mahesh.txt"
Can you try with this change and update the test result? If still facing an issue have a look into https://community.pega.com/knowledgebase/articles/how-copy-files-remote-systems-using-file-transfer-protocol-ftp
Coforge
SG
Hello Mahesh,
Thank you so much for the help. But no luck we are still facing the below issue. Moreover we have tried this earlier itself. Please let me know if you have any idea about this issue.
Best regards,
Rajasekar
Pegasystems Inc.
US
If possible can you please share the tracer log xml file by copying into the text file and attach it for our further analysis, so that i can give a try to look into it.
Coforge
SG
Hello Mahesh,
Please find the attached tracer log.
Thanks.
Best regards,
Raja
Updated: 9 Jan 2019 10:12 EST
Pegasystems Inc.
US
Couldn't notice anything specific apart from the invalid path error related to the local path in the tracer log. Please share the complete screen shots of your activity along with the values that you passed in the latest test, also did you cross checked in the logs for any additional information?
Pegasystems Inc.
US
Also did you made sure that NewTextDocument.txt file is available in the D drive of the machine in which your Pega application is installed?
Coforge
SG
Hello Mahesh,
Thanks for the reply. Yes that text document is present in my D: Drive only in which my Personal Edition is installed.
Best regards,
Rajasekar
Pegasystems Inc.
US
Then i would recommend to create an SR with GCS team for further investigation with the screen share to identify its root cause.
Pegasystems Inc.
IN
Please enable the logger for this class "Rule_Obj_Activity.TestActivity.OJ6YYR_AgentTes_Work.Action" as debug and share the log file with us.
Also, kindly go to your FTP server and validate the test connectivity