Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Connect-FTP: Error working with local path

SA-55413

Summary



Using a Connect-File to create a file in /usr/local/tomcat/work/sync-data  and then using Connect-FTP to send the file to different server, the file is getting created but when using Connect-FTP to move the file errors are occurring making it look like the local file cannot be found.

Error Messages



Error working with local path: '/usr/local/tomcat/work/sync-data/test.txt', File not found


Steps to Reproduce



Connect-File - /usr/local/tomcat/work/sync-data/test.txt
Connect-FTP - using SFTP (SSH) 
 

Root Cause



In the Connect-FTP action the remote path parameter was wrong. The "File not found"  error was caused by not being able to copy the file to the remote path using the SFTP protocol.  For example in internal testing using a remote path of "/filetransfer" resulted in the same exact error.  

Resolution



Change the remote path to the proper value and the Connect-FTP works properly. 

 

Published July 23, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice