Web Wiz
Home
Home
Hosting Services
Hosting Services
Knowledgebase
Knowledgebase
Community and Support Forums
Support Forums
Customer Login
Customer Login

  New Posts New Posts RSS Feed - file upload progress bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Web Wiz Web Hosting 30 Day Free Trial

Windows Hosting 30 Day Free Trial, with no obligation, on all our Windows Web and Reseller Hosting Packages.

For moreĀ informationĀ see our Windows Hosting 30 Day Free Trial page.

file upload progress bar

 Post Reply Post Reply
Author
dpyers View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 May 2003
Status: Offline
Points: 3941
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Topic: file upload progress bar
    Posted: 20 November 2009 at 6:50pm
you don't indicate if you need it for an asp.net or for a php page.

PHP will give better results than javascript but will still be a bit off as it can't really touch the post data streaming in. The RAW_POST_DATA variable is only populated if it doesn't recognize the mime type but you need a valid mime type for file transfers to work. PHP will loose more accuracy on large files than on smaller ones.

Here's an article on an .NET control that will do what you need:
http://mattberseth.com/blog/2008/07/aspnet_file_upload_with_realti.html

Perl would be another option which can touch the data stream.




Lead me not into temptation... I know the short cut, follow me.
Back to Top
RCorr View Drop Down
Groupie
Groupie


Joined: 21 January 2003
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote RCorr Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2009 at 5:12pm
Hello,

I would like to know how to implement a file upload progress status on a PHP and an ASP.NET web site to indicate that the page is communicating with the server.  This will give user an indication that the file upload is in progress and not to click away from the page because they may think the loading is too slow.

I have found some JavaScript progress bar examples, but it is independent to the time the page will render and may produce false indication.

If anyone knows of an excellent example I can easily implement onto my web site, please share.

Many thanks,

RCorr


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



Become a Fan on Facebook Follow us on Twitter Web Wiz on Google+ Community Forums Web Wiz Blogs Web Wiz News
Company Information | Contact Web Wiz | Terms & Conditions | Privacy Policy

Prices exclude VAT unless otherwise stated - $, € prices shown as a guideline only
Web Wiz Ltd, Unit 10E Dawkins Road Ind. Est, Poole, Dorset, UK, BH15 4JD
Copyright ©2001-2012 Web Wiz - All rights reserved