Re: [lftp] lftp 4.5.4

2014-08-11 Thread Mattias Bergvall
Great! This patch works perfectly. Thanks a lot! You are really quick! BR Mattias Bergvall On Mon, Aug 11, 2014 at 12:53 PM, Alexander V. Lukyanov wrote: > On Mon, Aug 11, 2014 at 09:22:16AM +0200, Mattias Bergvall wrote: > > I wonder how to prevent retries and to make LFTP fail-exit on conne

Re: [lftp] lftp 4.5.4

2014-08-11 Thread Alexander V. Lukyanov
On Mon, Aug 11, 2014 at 09:22:16AM +0200, Mattias Bergvall wrote: > I wonder how to prevent retries and to make LFTP fail-exit on connection > problems (when the server is down, for instance). Please try this patch. -- Alexander. diff --git a/src/FileAccess.cc b/src/FileAccess.cc index 7582e4

Re: [lftp] lftp 4.5.4

2014-08-11 Thread Mattias Bergvall
Hi! (using v 4.5.2) I wonder how to prevent retries and to make LFTP fail-exit on connection problems (when the server is down, for instance). I have a command file like this: set ftp:use-feat false set dns:fatal-timeout 50 set net:max-retries 1 set cmd:fail-exit true set ftp:sync-mode true set