Re: [lftp] problem with lftp exit code

2015-02-16 Thread Alexander V. Lukyanov
On Mon, Feb 16, 2015 at 12:22:46PM +, Edward Borst wrote: Hi Alexander, Unfortunately this does not solve the issue in the correct way. Because if the connection is down, or there is a login problem the exit code will also be 0 I only want the exit status 0 when there is no file.

Re: [lftp] problem with lftp exit code

2015-02-16 Thread Edward Borst
Hi Alexander, Unfortunately this does not solve the issue in the correct way. Because if the connection is down, or there is a login problem the exit code will also be 0 I only want the exit status 0 when there is no file. -Original Message- From: Alexander V. Lukyanov

Re: [lftp] Problem with Spam in Gmail with this list

2015-02-16 Thread Alexander Lukyanov
SPF record was recently fixed for the domain uniyar.ac.ru, so the spam problem should become less frequent. ср, 11 февр. 2015, 19:29, Juan Simón deced...@gmail.com: I've done it now, thanks. 2015-02-11 17:10 GMT+01:00 Kai Stian Olstad kai.stian.ols...@gmail.com: On Wednesday 11. February

Re: [lftp] problem with lftp exit code

2015-02-16 Thread Alexander V. Lukyanov
On Mon, Feb 16, 2015 at 07:12:35AM +, Edward Borst wrote: Someone else an idea to solve this? I expected that if I use glob -exist the exit code would be 0. You can use this: glob --exist /tmp/mtc/otp*.* || exit 0 -- Alexander. ___