Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
mirror -v --only-newer --loop /var/ixweb/ /sdf/

I have the following in a file and I call it like this

sudo lftp -f /root/ftpyncix

the error is the following

---> CWD /var/ixweb
<--- 550 /var/ixweb: The system cannot find the path specified.
mirror: Access failed: 550 /var/ixweb: The system cannot find the path specified.

I have tried changing directory's to almost anything in var in root in var/www I am thinking that the program does not have permision to run on that folder so I 777 nd it with files and still have no luck I followed the instuctions from here Thanks for the help

share|improve this question

lftp is trying to mirror from /var/ixweb on the FTP server, which doesn't exist. I'm assuming that you want to mirror /sdf on the FTP server to /var/ixweb on your local machine, in which case you have the directories in the wrong order.

From the manpage:

  mirror [OPTS] [source [target]]

Mirror specified source directory to local target directory. If target directory ends with a slash, the source base name is appended to target directory name. Source and/or target can be URLs pointing to directories.

So you want:

mirror -v --only-newer --loop /sdf/ /var/ixweb/
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.