Re: PERL WEB PROGRESS BAR
From: zentara (zentara_at_highstream.net)
Date: 03/03/05
- Next message: Paul Lalli: "Re: combining two arrays"
- Previous message: Mr. Wilson: "Re: Iterated mega file upload - invented wheel wanted"
- In reply to: Sebastien: "PERL WEB PROGRESS BAR"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 03 Mar 2005 13:16:41 -0500
On 2 Mar 2005 08:15:51 -0800, dorey.sebastien@free.fr (Sebastien) wrote:
>Hello,
>I am doing little CGI scripts. Right now I am working on how to upload
>files from a computer to a web site.
>I think I will finish soon that feature. Here are my questions (I'd
>already looked on the web some stuff related to these questions):
>- I would like to create a progression bar while uploading my file. Do
>you know where I can find some basic scripts that can do that?
>- I have already found some text scripts that can do it in my term. Is
>there any scripts that can do that for the web (not using Perl GTK for
>instance)?
>
>Thanx very much for the answers.
You can setup a javascript indicator for your upload
Check out this:
http://zentara.net/jsupload.html
I hacked a Perl version of a PHP uploader script.
I havn't messed with them in awhile, so YMMV.
I have a 100k limit on the script, so it may finish before
it can report percentages. You can download it, and
experiment for yourself.
You really waste upload bandwidth when you use these
(except for the pure javascript version). Because you need to setup
a feedback cgi, which shares the bandwidth with the upload.
The javascript one is just an indicator, so it consumes no bandwidth.
One written in Tk or Gtk , is your best bet, unless you are forced
to use a browser. You can feed the output from LWP, or libCurl
to a Progressbar.
-- I'm not really a human, but I play one on earth. http://zentara.net/japh.html
- Next message: Paul Lalli: "Re: combining two arrays"
- Previous message: Mr. Wilson: "Re: Iterated mega file upload - invented wheel wanted"
- In reply to: Sebastien: "PERL WEB PROGRESS BAR"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|