Jun 29 2012, 06:55 AM
I wanted to setup LFTP so that I can transfer my files/folders to my webhost
I used this guide exactly as it stated
When crontab runs the script I get this error
mirror: Access failed: 550 Can't change directory to /home/gmod/orangebox/garrysmod: No such file or directory
Code I used
mirror -v --only-newer /home/gmod/orangebox/garrysmod/ /126.96.36.199/public_html/garrysmod/
The directory does exist and permission for directories are set to 0777
Any idea's how to fix this (Try and explain this simply only used linux for a few week)
Jul 19 2012, 03:45 PM
I presume you didn't resolve this issue. I have exactly the same problem though I cannot even mirror using lftp at the command line. I used:
open [bookmarked site]
mirror -i "\.(html|css)$" /home/kevinm/lftptest/ /
mirror: Access failed: 550 /home/kevinm/lftptest: No such file or directory
1 error detected
lftp connects successfully at the open command but fails with the error shown. The directory does exist, is owned by me and has permissions of 777. The transfer log is always 0 bytes long and I get exactly the same error if I run the command as root.
If I just try to get or put a file using lftp it works fine (with the correct entries in the transfer log) so it's just mirror that doesn't work.
I am running Xubuntu 10.04LTS and lftp is at version 4.0.2 the debian bug site with bug ID=675604 suggests it's buggy right up to the latest version - 4.3.8. I can't even install this because it fails the dependencies. I've wasted ages trying to find a solution but if there is one - I can't find it!
I'm having to backup my site manually, as I simply cannot get lftp mirror to work with Xubuntu Lucid.
Maybe this will help someone out there.