Hi, I found a problem, perhaps it is a bug. My lftp 's version is 3.5.14.
if you use lftp in -c or -f mode, and put mget at the last line, when some errors occupied, the mget command report 'no files found', and LFTP return code 0 to OS shell. Example: lftp -c 'open bad_host.com; \ ls ;\ mget *db; \ ' Because the host is not existed, I think mget should report error, and return error code to shell. But shell get result as 0. Thank you. -- WenGe Wang
