Re: PERL WEB PROGRESS BAR

From: zentara (zentara_at_highstream.net)
Date: 03/03/05


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


Relevant Pages

  • Re: Not able to allow annonomous users to upload to my folder
    ... allows this option and has the scripts installed for them to work. ... > FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... >>I am trying to place an upload form into my website. ... >> users to upload to the folder and for uploaded files to write over files that ...
    (microsoft.public.frontpage.client)
  • Re: Restrict FileSystemObject to its virtual dir
    ... not scripts run by the Web Server. ... Creating an Application Pool for each application, with a unique AppPool ... If you allow users to upload and run arbitrary code on the server, ...
    (microsoft.public.inetserver.iis)
  • Re: Restrict FileSystemObject to its virtual dir
    ... not scripts run by the Web Server. ... Creating an Application Pool for each application, with a unique AppPool ... If you allow users to upload and run arbitrary code on the server, ...
    (microsoft.public.inetserver.iis.security)
  • Re: Upload folder permissions
    ... Make sure that "Execute Permissions" are set to None. ... Ray wrote:> Hi ... > The problem is that the site was hacked this weekend by Team_Evil through> this image folder whereby they managed to upload code to it and execute it> resulting in my whole site being defaced. ... > Is there anyway to setup permissions on the image folder whereby people can> still upload images and that the images be deleted when the ad is deleted> but no asp scripts can be executed from this folder incase they get by the> extension checking again? ...
    (microsoft.public.inetserver.iis)
  • Re: CGI upload creates empty file on server?
    ... Consider using the upload method ... Anyhow, once you start to mess with the magic thing as a string, the ... That's because _usually_ Perl5 scripts have "use ... strict" at the top. ...
    (comp.lang.perl)