"File does not exist or cannot be read:" error in Connect-FTP
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.
***Edited by Moderator: Pallavi to update platform capability tags***
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.
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.
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.
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"
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?