Yes, it is working if ftp server on Linux, but it does not work if ftp
server is on Solaris 8.

Can you give me some hints where to search in the sources?

Thanks,
Ivan

-----Original Message-----
From: Alexander V. Lukyanov [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 24, 2004 8:07 AM
To: Ivan IS. Sijakovski
Cc: [EMAIL PROTECTED]
Subject: Re: FW: remote files with size 0 are not downloadable

On Mon, Aug 23, 2004 at 05:31:13PM +0200, Ivan IS. Sijakovski wrote:
> I tried with 3.0.7, but still doesn't work.
> Here is output with debug level 9:
> 
> lftp>get1 empty_file.txt
> ---> PASV
> <--- 227 Entering Passive Mode (195,26,137,106,237,142)
> ---- Connecting data socket to (195.26.137.106) port 60814
> ---> RETR empty_file.txt
> <--- 150 Binary data connection for empty_file.txt
> (195.26.137.106,60813) (0 bytes).
> ---- saw file size in response
> ---- Closing data socket
> <--- 226 Binary Transfer complete.
> copy: get hit eof
> copy: waiting for put confirmation
> copy: put confirmed store
> copy: get is finished - all done
> 
> But file does not appear at destination.

It works here:

lftp ftp:/> !rm a
lftp ftp:/> !ls -l a
ls: a: No such file or directory
lftp ftp:/> get1 a
---> SIZE a
<--- 213 0
---> MDTM a
<--- 213 20040823101918
---> PASV
<--- 227 Entering Passive Mode (193,233,48,66,241,100)
---- Connecting data socket to (193.233.48.66) port 61796
---> RETR a
<--- 150 Opening BINARY mode data connection for a (0 bytes).
---- saw file size in response
---- Closing data socket
<--- 226 Transfer complete.              
copy: get hit eof
copy: waiting for put confirmation
copy: put confirmed store
copy: get is finished - all done
lftp ftp:/> !ls -l a
-rw-r--r--  1 root root 0 Aug 23 14:19 a
lftp ftp:/> v
Lftp | Version 3.0.7 | Copyright (c) 1996-2004 Alexander V. Lukyanov

-- 
   Alexander.

Reply via email to