On Tue, Nov 16, 2004 at 12:00:25PM -0600, McBride, Cameron wrote: > Good afternoon! I could never get any different output for you from the > gdb, but I have worked around the problem for now.
Do you have any hints on how to reproduce the problem? I could not get completely empty directory. > Just in the past few days I began working on my first ssl-ftp site. If I > have a command like 'lftp -e "debug;ls;exit" ftps:/u:[EMAIL PROTECTED]' and I > execute > that on the command line then it works perfectly. > > When I try to capture the output just like I do with a sftp site I get some > bad problems: > > If in ksh I do a ret=`lftp commands 2>&1` this would normally catch all out > put and put it in my variable. Instead it seems to just hang indefinitely. Remember that -e option does not make lftp exit after command execution. Use -c or explicitly write exit command for that. Most probably lftp waits for input and so does not exit. -- Alexander. | software is knowlege
