Hi,
first I want to thank you for the lftp package. It's greatly appreciated!

We are currently using lftp version 3.7.7 on Linux to transfer files via FTPS. 
We are seeing from time to time a strange behavior that files were not 
completely transferred by lftp (some lines are missing). In most cases the 
transfer works as expected.
It's quite interessting, that the lftp prints out different file sizes in the 
ALLO and 226 (see below).

Could it maybe an issue with the script that we use? It does a does a cp of the 
file just before lftp is used to transfer the copied file.

Do you have seen such behavior before?

Thanks a lot for any thoughts and regards,
Tilo


Example1:
---> ALLO 1446640
<--- 200 Command okay
---> STOR SAPHR_PERSSTAMM_20090713.txt
<--- 150 Openning data connection. Start receiving 
'SAPHR_PERSSTAMM_20090713.txt',remote file is: 

SAPHR_PERSSTAMM_20090713.txt
<--- 226 File retrieved successfully (network bytes 1441792/file bytes 1441792)

Example2:
---> ALLO 218988
<--- 200 Command okay
---> STOR STAMM.DAT
<--- 150 Openning data connection. Start receiving 'STAMM.DAT',remote file is: 
STAMM.DAT
<--- 226 File retrieved successfully (network bytes 212992/file bytes 212992)
---> TYPE A


Example of how we are calling lftp:
lftp -c "set cmd:at-exit;debug 5;
 set cmd:fail-exit 1;
 set ftp:ssl-auth TLS;
 set ftp:ssl-protect-data 1;
 set ftp:ssl-force 1;
 set;
 open ftp://u...@host:50221;
 cd phr_do/out;
 pwd;
 put -E STAMM.DAT;
 ls;
 quit;

Here is the output from the set-command:
set cmd:fail-exit 1
set cmd:prompt "lftp \\S\\? \\...@\\h:\\w> "
set cmd:term-status/*rxvt* "\\e[11;0]\\e]2;\\T\\007\\e[11]"
set cmd:term-status/*screen* \\e_\\T\\e\\
set cmd:term-status/*xterm* "\\e[11;0]\\e]2;\\T\\007\\e[11]"
set file:charset UTF-8
set ftp:auto-sync-mode "icrosoft FTP Service|MadGoat|MikroTik"
set ftp:ssl-auth TLS
set ftp:ssl-force 1
set ftp:ssl-protect-data 1
set ftp:sync-mode/ftp.idsoftware.com on
set ftp:sync-mode/ftp.microsoft.com on
set ftp:sync-mode/sunsolve.sun.com on
set ftp:use-feat 0
set ftp:use-mdtm 0
set ftp:use-site-utime 0
set ftp:use-site-utime2 0
set ftp:use-size 0
set xfer:max-redirections 10
set xfer:verify-command /usr/local/share/lftp/verify-file

________________________________________________________________
Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/

Reply via email to