On Sat, Jan 07, 2006 at 09:19:08PM +0100, Fredrik Arnell wrote: > Hi everyone. Im currently developing a perl script to connect and send a > command to an ftp server and return the answer. > Everything works, BUT if the remote server doesn't allow me to connect I get > this error msg: > site: Fatal error: max-retries exceeded > > Is there any switch or parameter to NOT send this kind of errors? Because
Have you tried to redirect errors to /dev/null? lftp -c 'commands...' 2>/dev/null -- Alexander..
