Hi chaps
anyone know of an upload script with progress bar that works with RFH?
tried aspupload but cant get it to work with asp.net, tried to google it but cant find anything recent for a solution.
Hi chaps
anyone know of an upload script with progress bar that works with RFH?
tried aspupload but cant get it to work with asp.net, tried to google it but cant find anything recent for a solution.
Try this:
http://www.google.co.uk/search?hl=en...gress+bar&meta=
Plenty of results, although I'm not sure if any are free / functional on RFH shared hosting.
You could try searching for flash and ajax file uploaders. I know there are a few about. Http doesn't lend itself to progress monitoring of uploads, a reason why I always try and get people using a better suited protocol like ftp wherever possible.
Last edited by nick; 20th April 2007 at 02:35 PM.
Welcome to my nightmare.
Uploads can never be done with AJAX - there's no way to encode the file into xml, so they can't be sent via XmlHttpRequest.
Any Javascript method that achieves this is using some kind of trickery with a hidden iframe, so technically it's never AJAX. The iframe posts back the upload, whilst the main page fires off a request every few seconds to check the progress, and update the progress bar.
Unfortunately, the only working method I've (so far) found to actually record the progress at the server, involved code that just wouldn't work in medium trust - so no joy on RFH shared.
I was going to link here to a solution that only works in full trust (therefore fine for dedicated hosting). Whilst searching for it I found an entirely new method, which might actually work, and also alleviate the memory problems associated with ASP.NET uploads ... I haven't tested it, but it looks like it's doing exactly the right thing;
See: http://www.codeproject.com/KB/aspnet...19#xx2642719xx
I'm going to have a go now, will report back as to whether it works on RFH shared.
Unfortunately, that method also fails in Medium Trust.
So... I might start looking at a PHP handler for receiving file uploads![]()
Hi
I have this running on Redfox
http://geekswithblogs.net/rashid/arc...le-Upload.aspx
I use this one on RFH: http://www.brettle.com/neatupload
Works a charm
spire128: that uses a fake dummy progress. I need a progress bar that will actually tell the user how much has uploaded. A dummy progress bar is about as much use as the spinning icon in the corner of the browser...
JohnnyW: is that working in shared hosting (i.e. on medium trust)? From looking at the code it uses the same method for GetWorkerRequest that was breaking my previous attempts. I'm suspecting you have dedicated hosting to be able to run it.
I'm now implementing a client-side upload in Silverlight 2 that is working very nicely, and saves having to continually poll the server for the progress amount, since I can stream the file direct from Silverlight and display the progress as I go. Unfortunately it requires the user to install the Silverlight plugin which doesn't yet have very good market coverage.
TRY THIS:
http://store.masrizal.com/product/cu...es/example.php
http://www.masrizal.com/index.cfm?fu...hp_flashupload
Its a flash uploader that seems to work quite well. The actual file process file is php, but if you have basic asp.net skills you will be able to convert this part from php to asp.net (its only about 10 lines of code).
cheers
Silverlight is working great, I'm able to split the file into chunks and upload one at a time, so I can even support resumable uploads, and reliably upload huge files (theoretically there's no limit - the file gets progressively read and written at each end, so won't run out of memory).
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks