empty the transfer_log from inside

2011-04-26 Thread Juan Simón
It would be nice a command to empty the transfer_log file from lftp itself, don't you think? It would be the only way to empty it and to continue working. Regards.

Re: empty the transfer_log from inside

2011-04-26 Thread Juan Simón
I've tried to empty this file manually (with an editor) while lftp is running and this provokes that lftp doesn't write to this file until I restart lftp. El 26 de abril de 2011 18:26, Roger Pixley skree...@gmail.com escribió: It would be nice. It's certainly not the only way to do it and keep

Re: Re: empty the transfer_log from inside

2011-04-26 Thread Roger Pixley
have you tried the command ' : $lftp_history I've tried to empty this file manually (with an editor) while lftp is running and this provokes that lftp doesn't write to this file until I restart lftp. El 26 de abril de 2011 18:26, Roger Pixley skree...@gmail.com escribió: It would be

Re: Re: empty the transfer_log from inside

2011-04-26 Thread Juan Simón
I haven't this command. I've installed lftp from sources and I only have lftp and lftpget. I see the configure help and I don't see nothing about this command. Any help? What does this command? Regards. El 26 de abril de 2011 20:36, Roger Pixley skree...@gmail.com escribió: have you tried the

Re: Re: Re: empty the transfer_log from inside

2011-04-26 Thread Roger Pixley
It's a bash command it essentially says put nothing into this file. (Make the file empty)

unsubscribe lftp

2011-04-26 Thread Gary Richards

Re: Re: Re: empty the transfer_log from inside

2011-04-26 Thread Juan Simón
Well, I haven't this bash command. Where is it? Is it something like ' echo .lftp/transfer_log ' ? What is the difference between this command and to empty this file with an text editor? Why lftp doesn't refill this log file when I empty it with text editor? El 26 de abril de 2011 21:46, Roger

Re: Re: Re: Re: empty the transfer_log from inside

2011-04-26 Thread Roger Pixley
you don't have the command : The colon itself is a command so : .lftp/transfer_log I'm not speaking with any knowledge or authority here but opening a text editor leave a filehandler open while using the redirect wouldn't do that. It's possible that is disturbing lftp but I wouldn't be sure