Hi, I'm running lftp to transfer backup file by reading a remote fifo using fish protocol. Sometimes, lftp doesn't get the eof and loops unfinitely by doing timeout - reconnection, even if I configure lftp to never reconnect. The first time lftp timeouts, the transferred file is complete and valid, so it's normal that lftp timeouts in the meaning that there is nothing to transfer anymore.
I do try this with several versions of lftp (3.6.1, 3.6.3.92 and 3.7.0) and all are, randomly, having the same behaviour. You'll find hereafter an example of the output I get. Did you ever heard about something like this? Best Regards, //output of the backup file creation Creating Volume Group 'rootvg' backup on 'cts_cas07' FileCopy(20041f78) enters state INITIAL FileCopy(20041f78) enters state DO_COPY ---- Running connect program (/usr/bin/rsh cts_cas07 echo FISH:;echo FISH:;echo FISH:;/bin/sh) <--- FISH: ---> #FISH TZ=GMT;export TZ;LC_ALL=C;export LC_ALL;exec 2>&1;echo;start_fish_server;echo '### 200' ---> #VER 0.0.2 echo '### 000' ---> #PWD pwd; echo '### 200' <--- FISH: <--- FISH: <--- <--- /bin/sh[2]: start_fish_server: not found <--- ### 200 <--- ### 000 <--- /home/root <--- ### 200 ---- home set to /home/root ---> #EXEC cat\ /dev/bkpfifo_1445918 cat /dev/bkpfifo_1445918; echo '### 200' //output of backup again Creating information file (/image.data) for rootvg. Creating list of files to back up. Backing up 4802 files 4802 of 4802 files (100%) //the backup is finished, so the eof should be send or catch.. 0512-038 mksysb.FB.1445918: Backup Completed Successfully. **** Timeout - reconnecting ---- Disconnecting ---- Running connect program (/usr/bin/rsh cts_cas07 echo FISH:;echo FISH:;echo FISH:;/bin/sh) <--- FISH: ---> #FISH TZ=GMT;export TZ;LC_ALL=C;export LC_ALL;exec 2>&1;echo;start_fish_server;echo '### 200' ---> #VER 0.0.2 echo '### 000' ---> #EXEC cat\ /dev/bkpfifo_1445918 cat /dev/bkpfifo_1445918; echo '### 200' <--- ### 200 <--- ### 000 **** Timeout - reconnecting ---- Disconnecting ---- Running connect program (/usr/bin/rsh cts_cas07 echo FISH:;echo FISH:;echo FISH:;/bin/sh) ...
