fine uploader - fineuploader iframe functionality (IE7-9) -


so i've been looking solution implement in site allows multiple files , large files (>2 gbs) uploaded, without using plug-ins, desktop clients, etc. have requirement support browsers far ie 7. fineuploader seems fit bill perfectly, 1 aspect have been trying figure out how uses iframe support non-html5 browsers? serving html content, still allows users upload files, legacy limitations (one file @ time, not able read file size prior upload, etc.)? functionality of fineuploader lose in non-html5 browsers?

thanks, stas

i'm maintainer of fine uploader , provide answer questions.

for browsers not support file api (ie9 , older, android 2.3.x) fine uploader must rely on commonly known "trick" allow "ajax" uploading. in these browsers, must submit form containing file input element (one each file). fine uploader creates hidden iframe containing form , file input associated file. separate iframe created each selected file. fine uploader submits form when comes time upload associated file or files. response text server loaded iframe when server response received, , library parses response (which must valid json response, regardless of browser).

the following limitations in place on non-file api browsers:

  • you can select 1 file @ time (one per "choose file" dialog). due fact none of these browsers not support multiple attribute on file input elements.
  • dragging , dropping of files not supported. feature depends on file api support.
  • progress bars not appear, there no easy way determine upload progress of file in browsers not support file api. there may efforts in future allow progress calculation, such documented convention results in periodic requests check progress, or support uploadprogress module in nginx or apache.
  • client-side file size information not available. so, features related or dependent on file size not enabled. information not available unless browser supports file api.
  • chunking , auto-resume features not enabled since explicitly depend on file api support.

luckily, "modern" browsers, including ie10, support file api.

hope helps.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -