On Thu, Mar 12, 2015 at 09:55:13AM +0100, Mattias Bergvall wrote: > The problems with FTP-retries is not fixed when setting "net:max-retries 1" > and "cmd:fail-exit true". Am I using the wrong variables? > > I use "LFTP | Version 4.6.0 | Copyright (c) 1996-2014 Alexander V. > Lukyanov" with "Libraries used: Readline 5.1, zlib 1.2.3", and still get 1 > automatic FTP retry when the FTP server uncleanly closes the session, (and > since I didn't set "ftp:site", it didn't re-issue the site commands).
Can you provide debug log from lftp? > Regarding the double-spaces in the ftp:site option, what would happen if > there are trailing spaces or more than 2 spaces between two site commands? Two spaces terminate a single SITE command, if there is third - it becomes part of the next SITE command. -- Alexander. _______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp