[lftp-devel] Lftp 4.5.4 compilation errors

2014-08-11 Thread Andrew Reis
Receiving the following errors that are stopping compilation: lftp_ssl.cc: In constructor 'lftp_ssl_openssl::lftp_ssl_openssl(int, lftp_ssl_base::handshake_mode_t, const char*)': lftp_ssl.cc:835: error: 'SSL_set_tlsext_host_name' was not declared in this scope Versions: gcc -v Using

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

Re: [lftp] FW: lftp output

2014-08-11 Thread Alexander V. Lukyanov
On Sat, Aug 09, 2014 at 06:48:06PM +0100, Jorge Mendes wrote: Those 5 errors are file size decreased during transfer. It's weird because its not correct, all transfers are good. Please check the version of lftp. Such an error was fixed in 4.4.13 (the bug existed in 4.4.12). If possible, upgrade