On May 30, 2005, at 19:47, Javier Herranz wrote:
lftp -d -c 'open ftp.mysite.com; user user pass; lcd /home/user/www;
cd /public_html ; mirror -Rev'
and get this (debug):
[...]
---> PASV
<--- 227 Entering Passive Mode (67,19,170,226,60,35)
---- Conectando socket de datos a (67.19.170.226) puerto 15395
Obteniendo el contenido del directorio (0) [Estableciendo la
conexión de
datos.
And it hangs up in that point. I'm desesperate! Any hint?
Looks like your server is running a firewall without ftp connection
tracking or manually allocating PureFTPd a range of open ports.
I'd try turning passive mode off in LFTP:
set ftp:passive-mode/67.19.170.226 off
But then *your end* must not be firewalled or behind a NAT, except if
running some kind of smart connection tracking to let the ftp
connections through.
I see there's also an OpenSSH server running on your server, it might
make sense to go through that instead of the PureFTPd server for your
backups. Try opening sftp://[EMAIL PROTECTED] with lftp. The
SFTP protocol doesn't have this passive mode problem.
--
fds