Hi! LFTP is downright AMAZING! :-) Unfortunately, I've discovered what seems to be a bug:
[lftp] [EMAIL PROTECTED]:/tmp >> mkdir emptydirectory ---> MKD emptydirectory <--- 257 "/tmp/emptydirectory" - Directory successfully created mkdir ok, `emptydirectory' created [lftp] [EMAIL PROTECTED]:/tmp >> du ---> CWD / <--- 250 CWD command successful. ---> CWD /tmp <--- 250 CWD command successful. ---> PASV <--- 227 Entering Passive Mode (xxx,xxx,xxx,xxx,131,34). ---- Connecting data socket to (xxx.xxx.xxx.xxx) port 33570 ---> LIST <--- 150 Opening ASCII mode data connection for file list ---- Closing data socket <--- 226 Transfer complete. ---> CWD /tmp/emptydirectory <--- 250 CWD command successful. ---> PASV <--- 227 Entering Passive Mode (66,230,140,25,131,36). ---- Connecting data socket to (xxx.xxx.xxx.xxx) port 33572 ---> LIST <--- 150 Opening ASCII mode data connection for file list ---- Closing data socket <--- 226 Transfer complete. ---> PASV <--- 227 Entering Passive Mode (66,230,140,25,131,38). ---- Connecting data socket to (xxx.xxx.xxx.xxx) port 33574 ---> NLST **** Connection reset by peer Something familiar happens when I try "mirror -R -c xxxx": [lftp] [EMAIL PROTECTED]:/tmp >> mirror -R -c xxxx ---> MKD xxxx <--- 257 "/tmp/xxxx" - Directory successfully created ---> CWD /tmp/xxxx <--- 250 CWD command successful. ---> PASV <--- 227 Entering Passive Mode (xxx,xxx,xxx,xxx,131,85). ---- Connecting data socket to (xxx.xxx.xxx.xxx) port 33621 ---> LIST <--- 150 Opening ASCII mode data connection for file list ---- Closing data socket <--- 226 Transfer complete. ---> PASV <--- 227 Entering Passive Mode (xxx,xxx,xxx,xxx,131,87). ---- Connecting data socket to (xxx.xxx.xxx.xxx) port 33623 ---> NLST **** Connection reset by peer Client is Lftp 2.6.4 Server is ProFTPD Version 1.2.8rc2 I've tried to piece together what exactly happened using linux' tcpdump command, and it looks like lftp gets confused about the 450 code returned by NLST: > PASV < 227 Entering Passive Mode (66,230,140,25,131,203). > NLST < 450 No files found > ABOR < 226 Abort successful Another thing; when using filename completion with TAB after this command: "mirror -R -c ", it completes remote files instead of local. Perhaps the completion code could check if the command matched /mirror.*-R/ or something like that? Let me know if there's anything I can do. Cheers, HC -- Hans Christian Saustrup Carbonbased lifeform Home: +45-86100856 URL: http://saustrup.net/hc/ Cell: +45-22695305 ICQ: 94908168/76855211 Work: +45-87407555
