On Sunday 14 May 2006 04:45, Ken Foskey wrote:
[ during xfer, the connection ocasionally breaks ]
[ seeks to resume the xfer where left off ]
> Secondly is there an easy way to send messages to Big Brother to go
> orange, red then go green again?  We are using a file and writing
> messages and there is currently no way of deleting the messages once the
> process is fine again.  There must be a better way.

Likely there's a reason you're using Perl.

But are you aware that wget has a continue/resume option?

wget http:/www.my_download.net/download_file.tgz

and if the connection breaks, to resume:

wget -c http:/www.my_download.net/download_file.tgz

This works in the majority if not all cases that I'ved used it. (the ftp or 
http server must support resume but I've never ran into one that didn't).

I sometimes call wget from Perl.

-- 
Alan.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to