Problem:
Many times you may get the following error during file upload/download while using ZappySys Secure FTP Task. This error usually happens due to default logon folder setting on few FTP servers. Many servers change user default directory after login your FTP server may change default directory to something else (typically /root/YourUserName/ ) and that may create an issue with ZappySys Secure FTP Task because zappys task may return full path when you browse directory on Task UI but at runtime when you download / upload files partial path expected by server (without user home directory part).
Users who get below error may also notice download / upload works fine using other tools like FileZilla but fails in ZappySys SFTP Task.
"[ZS Secure FTP Task] Error: "Download File failed. Could not find source path ".
or
"[ZS Secure FTP Task] Error: "Upload File failed. Not such file".
Solution-1:
To fix above error which was caused by default directory you can try below steps.
1. Go to SFTP Connection manager > Advanced tab and enter "/" as default directory (e.g. /)
2. Now go to Secure FTP Task UI and browse FTP Folder or File (e.g. /root/user1/data/year2001)
Now try to run your task/package see error goes away.
Solution-2:
To fix above error which was caused by default directory you can try below steps. For example, if you are trying to download files from /home/user1/data/year2001
then try below settings.
1. Go to SFTP Connection manager > Advanced tab and enter your default directory (e.g. /home/user1)
2. Now go to Secure FTP Task UI and use a partial path without home directory in the FTP Source / Target Path (e.g. /data/year2001)
Now try to run your task/package see error goes away.
Solution-3:
Read This link with few more work arounds
Comments
0 comments
Please sign in to leave a comment.