Hi, Try a newer version of lftp, 3.7.15 seems to work fine:
$ touch 0byte $ ls -l 0byte -rw-r--r-- 1 user users 0 2009-09-09 10:00 0byte $ $ lftp -u user,pass localhost lftp u...@p34:~> get 0byte <--- 257 "/home/user" is your current location ---> TYPE I <--- 200 TYPE is now 8-bit binary ---> SIZE 0byte <--- 213 0 ---> MDTM 0byte <--- 213 20090909140033 ---> PASV <--- 227 Entering Passive Mode (192.168.0.1,80,161) ---- Connecting data socket to (192.168.0.1) port 20641 ---- Data connection established ---> RETR 0byte <--- 150 Accepted data connection ---- Got EOF on data connection ---- Closing data socket <--- 226 File successfully transferred Justin. On Wed, 9 Sep 2009, Franck LEPRETTE wrote:
Hello, I 'm currently using lftp on debian etch (4.0) . We use lftp because we think it's a very good tool which helps us a lot. The version on lftp is : $:/usr/local/src/lftp-3.7.15# lftp -v LFTP | Version 3.5.6 | Copyright (c) 1996-2006 Alexander V. Lukyanov LFTP is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for LFTP. See COPYING for details. Send bug reports and questions to <[email protected]>. Libraries used: Readline 5.2, Expat 1.95.8, GnuTLS 1.4.4, zlib 1.2.3 The problem is that we can't transfert any file to the ftp server when the file size is 0: The error is : PASV <--- 227 Entering Passive Mode (192,168,60,179,15,46) ---- Connecting data socket to (192.168.60.179) port 3886 ---- Data connection established ---> ALLO 0 ---- Closing data socket <--- 202 No storage allocation neccessary. ---> STOR test <--- 150 Connection accepted `test' at 0 (0%) [Waiting for transfer to complete] Then it freezes... The problem doesn't appears if I use another ftp client . Do you know if there is a patch in order to fix this problem ? Thanks in advance Kind regards.
