Image Uploader Timeout - Flash Uploader?
WizzKidd | Posted 4:08pm 9. May 2008 Server Time |
Has anybody come across a file uploader built in flash that allows a user to upload a single or multiple files to the server, but allows you to 'talk to' the object so that you can specify the file save location on the server using asp.
I use an image uploading compoment which is good, and allows me to manipulate the image on the flyer to add a watermark etc. And being that it is asp, I can specify the server location where the image is stored, and I also store the filepath into the database... The problem is, if someone on a slow internet connection tries to upload a 8mb image, the page would usually time out, hence why a flash based uploader would be perfect (As seen on youtube, myspace and facebook etc).
Anyone bumped into one that can be integrated with at the backend (using asp or something)
Any help? |
mp3cdman | Posted 5:51am 12. May 2008 Server Time |
Have you tried setting the Server.ScriptTimeout setting?
<% Server.ScriptTimeout = 360 %> gives 6 mins
<% Server.ScriptTimeout = 1800 %> gives 30 mins
mp3cdman ;-P
WizzKidd | Posted 8:51am 13. May 2008 Server Time |
Yep, ive tried those, and thats all fair and well, but not "practical" - if you know what I mean.
I did happen to come accross this today: an open source flash uploading 'widget' - fantastic. I found it on downloadsquad.com: http://www.downloadsquad.com/2006/11/16/swfupload-open-source-flash-multi-file-upload
Although the actual SWFUpload website is currently down, so im waiting until I get my hands on it before I can give it a go. One thing that stands out to me is that the 'upload widget' would act as a seperate entity from a website form, therefore if you're submitting data from text fields in the same form, it looks like 2 submit forms are gonna be needed.
- WizzKidd
mp3cdman | Posted 8:57am 17. May 2008 Server Time |
Even a Flash upload script is gonna suffer from similar problems as the server end will need to be ASP or PHP or .NET or something and it's obviously the server timeout that's the problem...
Perhaps your host has modified their IIS to override or limit the server timeout time in order to prevent scripts using shitloads of resourses...
mp3cdman ;-P
Reply to Post Image Uploader Timeout - Flash Uploader?
|
|
|