We are attempting to use Connect-FTP and receiving following error:
"File does not exist or cannot be read: /usr/local/tomcat/temp/StaticContent/global/ServiceExport/test.txt"
We are receiving same error when attempting to use both relative and absolute path in 'Local file' parameter of the Connect-FTP method. I cannot find any other threads with solutions to this problem. The file is definitely available, I have tested running @baseclass.DownloadFile using exact same path in both relative/absolute scenarios and the activity works.
Our requirement is to send file located on our SFTP Cloud server to internal FTP Server and we received the same error, so using a file on temporary path was the next attempt to rule out SFTP repository issues and even then it was unsuccessful as I mentioned above.
Does anyone know if invokeFTPConnector() uses java.io.File as opposed to PRFile? I can successfully access/verify file using PRFile using the same path. I have experienced issues with "file not found" when using java.io.File. Better yet, does PRFile offer permissions to access a location that java.io.File would not normally have. This is cloud instance so I cannot check directory permissions. I have only checked permissions using PRFile.canRead()/canWrite().
Posted: 2 years ago
Posted: 12 Oct 2019 8:38 EDT
Raja Venugopalan (Raja V)
Lead System Architect
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.