El 26/10/10 17:53, Roger Pixley escribió:
try lftp <url + options> | tee lftp.err.log
Thanks, but that's incorrect. That redirects all to log file.
I've tried with "lftp ftp://xxxxxxxx 2>/home/xxxx/output.log"
But this doesn't work well. The output messages are:
cd ok, dir actual=/xxx/xxx
cd ok, dir actual=/xxx/xxxx
Orden desconocida `local'.
bash: cd..: orden no encontrada
bash: cd ..: orden no encontrada
This messages are execution messages of the ftp session. I want redirect
the execution errors of *lftp itself*, no of the ftp session.
Lftp should have a option like "/--debug <file.log>/" and/or "/--log
<file.log>/" to redirect this output to a file.
I want redirect the *crash errors of executable of lftp*.
On Tue, Oct 26, 2010 at 7:25 AM, Simón <[email protected]
<mailto:[email protected]>> wrote:
Hi,
How can I save the error output from lftp?
Today I think that lftp has crashed but I can't verify this
because there isn't any errors log.
Regards.