Hi Alexander.

I took your advice and tried debug mode. Below is what I get.

It's a bit strange in that it is trying to ls the snapshot directory on the
server itself, finding no files, then exiting. According to the man page,
when I use -R the first directory should be the local one (So I put
/snapshot as I want to mirror that from my local HDD to the FTP server) but
it seems to be trying to do it the other way round.

Any ideas what's going on?

Nick

mirror -R /snapshot ./
---- Connecting to saturn (195.112.4.22) port 21
<--- 220 ProFTPD 1.2.9 Server (Nildram Homepages Server)
[saturn.nildram.co.uk]
---> AUTH TLS
<--- 500 AUTH not understood
---> USER *
<--- 331 Password required for *.
---> PASS *
<--- 230 User * logged in.
---> PWD
<--- 257 "/" is current directory.
---> MKD ./snapshot
<--- 550 ./snapshot: File exists
---> CWD /snapshot
<--- 250 CWD command successful.
---> PASV
<--- 227 Entering Passive Mode (195,112,4,22,5,149).
---- Connecting data socket to (195.112.4.22) port 1429
---> LIST
<--- 150 Opening ASCII mode data connection for file list
---- Closing data socket
<--- 226-Transfer complete.
<--- 226 Quotas on: using 11616714.00 of 102400000.00 bytes
---> PASV
<--- 227 Entering Passive Mode (195,112,4,22,5,150).
---- Connecting data socket to (195.112.4.22) port 1430
---> NLST
<--- 450 No files found
---- Closing data socket
---> QUIT
<--- 221 Goodbye.
---- Closing control socket
Interrupt
lftp [EMAIL PROTECTED]:/>

----- Original Message ----- From: "Alexander V. Lukyanov" <[EMAIL PROTECTED]>
To: "Nick Chettle" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, September 03, 2004 8:50 AM
Subject: Re: lftp Mirror



On Thu, Sep 02, 2004 at 07:54:58PM +0100, Nick Chettle wrote:
Hey all.

I am having a few troubles with lftp mirror. I am using it as follows:

Connect to FTP server address. (Works Fine).

lftp does not connect right after `open' command. It only selects the server to work with.

> mirror -R /snapshot ./
Getting directory contents (0) [Delaying before reconnect: 27]

It means that lftp cannot connect or login to the server. Please turn on debug (using command `debug') and see what actually happens.

--
  Alexander.





Reply via email to