[ic] File upload progress

JT Justman jt at signless.com
Thu Jun 21 20:11:53 EDT 2007


Peter wrote:
> On 06/21/2007 08:53 AM, Bill Carr wrote:
>> Is there anyway within Interchange to give the user feedback on file
>> upload progress while a large file is being uploaded?
> 
> Short answer, no.  Long answer ... no.
> 
> HTTP Uploads are very browser dependent, all that IC can do is pass an
> <input type="file" ...> tag to the browser and the file selection and
> upload process is completely browser dependent from there.  So if the
> browser doesn't already show this then there is no way that IC can
> request it.
> 

Actually, while I've never done one, there are solutions around to
monitor the progress on the server side, and post back to another
location - probably a frame or asynchronous javascript.

http://search.cpan.org/search?query=UploadProgress&mode=all

In order to interface with Apache, you need to work on a fairly low
level, so that probably requires a high degree of familiarity with the
Apache/Interchange interface. You could also run the upload 'service' as
a separate mod_perl (or Catalyst, or whatever suits you) application
that works in conjunction with your Interchange process.

Anyhow, it's still no simple thing, and not something that is made easy
by the design of current web browsers.

JT

-- 
Web:    http://www.signless.com
E-Mail: jt at signless.com
Cell:   (541) 543-4888
Skype:  jt.justman


More information about the interchange-users mailing list