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. ___ l

Re: [lftp] lftp as a c/c++ library

2015-02-16 Thread Alexander V. Lukyanov
On Fri, Feb 13, 2015 at 09:56:02AM -0500, Randall McPherson wrote: > lftp is the best sftp / ftp client I know of, especially for gracefully > handling the many non-compliant ftp server implementations. It would be > awesome to use it as a c/c++ library, calling it directly from other code. > Is it

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 [mailto:l...@

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

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 : > I've done it now, thanks. > > 2015-02-11 17:10 GMT+01:00 Kai Stian Olstad : > >> On Wednesday 11. February 2015 09:43:26 Juan Simón wrote: >> > I ha