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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.