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

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

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 l...@netis.ru wrote: On Mon, Aug 11, 2014 at 09:22:16AM +0200, Mattias Bergvall wrote: I wonder how to prevent retries and to make LFTP

[lftp] lftp 4.5.4

2014-08-06 Thread Alexander V. Lukyanov
lftp-4.5.4 has been released. Changes: * new setting mirror:sort-by (name, size, date). * torrent: reduced cpu and memory usage. * fixed occasional BUG:deadlock message. * fixed a segfault when a directory contains duplicate file names. * fixed a memory leak in torrent. * fixed byte counters in