Problem
Sometimes you may get following error when you try to download or upload file using Secure FTP Task. You get below error even though source and target both paths valid.
No such file
-- OR --
Permission denied
Possible Reason
After connection is established, Your FTP server is setting default path to your Home directory rather than root. (e.g. /root/user1 rather than / ). So when you try to upload to /root/user1/somefolder its actually uploading to /root/user1/root/user1/somefolder and because of this you may get error.
Possible Solution
Try following solutions see it works for you.
Fix-1 :
If you are doing upload, First confirm that you have correct permission to write to that specific FTP folder before trying next steps. You can use any popular FTP Client to test (e.g. FileZilla)
Fix-2 :
If you truly have write permission and still getting No Such File / Permission denied error then, try to add dot in front of you current Target Path on SFTP Task UI. This may help in some case when after Login your current directory got change ...
e.g. ./mytarget rather than /mytarget
If you uploading your root directory then try just ./ (dot and slash)
Fix-3 :
If your Target path contains your Username in the path then most likely you can try to remove that part and add dot in the front see it help?
For example: If your target path looks like
this /home/user1/subfolder/
change to ./subfolder
Fix-4 :
You can also
First go to your secure FTP connection > Advanced > and set default directory to your User Profile path (e.g. /someroot/username )
/home/user1
Once connection edit is done go to Secure FTP Task UI and change your FTP path so it doesn't contain your Home directory part.
e.g. rather than /home/user1/subfolder/ change to /subfolder
Fix-5 :
If above fix doesn't work try path without home directory and slash
rather than /home/user1/subfolder/ change to subfolder/
Fix-6 :
Try to change Default Directory to " / " on connection UI > Advanced tab. This fix is described here
Fix-7 :
Choose Target Path using Browse Option rather than typing directly see it helps?
Contact Us
If you have more question(s) feel free to contact us via Live chat or email to support@zappysys.com
Comments
0 comments
Please sign in to leave a comment.