468,161 Members | 1,936 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,161 developers. It's quick & easy.

Multiple upload with multiple iframe

Hello,

I want to implement multiple uploads with multiple iframe posting to
the server at the same time. Do all of you think it is possible to do
this? Does this ways has any drawbacks? Give me some idea, please.

Thanks
Chamnap

Aug 16 '07 #1
5 4301
Chamnap wrote:
I want to implement multiple uploads with multiple iframe posting to
the server at the same time. Do all of you think it is possible to do
this?
I can't speak for all readers, but I think it is possible.
Does this ways has any drawbacks?
Yes.

1. The iframe element (standardized per HTTP 4.01) is still not universally
supported.

2. You would need to use client-side scripting to submit the data. Without
it, either nothing could be submitted, or the user would have to submit
each file manually, in each iframe (provided he is able to, the `iframe'
element does not appear to comply to WCAG 1.0).

3. The user might wonder what data is submitted automatically, as they can
not really see what happens. Given a level of user paranoia, they
might distrust you doing something useful here which in turn could
further push public opinion in a direction against the implementation
of client-side scripting on Web sites. (See popup blockers, disabled
script support.)

4. The total of simultaneous (persistent) HTTP connections at the client is
limited as recommended per RFC2616 (HTTP/1.1). Default for HTTP/1.0 on
IE are 4, 2 (as recommended) for HTTP/1.1.

And the number of simultaneous HTTP connections the server accepts from
one client is usually limited, to maintain server performance.

It is likely that least one upload would have to wait for another to
finish.

You should use a server-side script that can handle the upload of several
files through one persistent HTTP connection, as it can be seen being used,
for example, by several Web e-mail providers for uploading attachments.
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Aug 16 '07 #2
So, Do you think queue upload is better than simultaneous upload?

Aug 17 '07 #3
One more thing. I have one page like this:
Album: <textbox>
Date: <textbox>
Pictures: <file upload>
Pictures: <file upload>
Pictures: <file upload>

Do you think I should one form for all these or one form for the two
above textbox and one form with every file upload?

Thanks
Chamnap

Aug 17 '07 #4
Chamnap wrote:
One more thing. I have one page like this:
Album: <textbox>
Date: <textbox>
Pictures: <file upload>
Pictures: <file upload>
Pictures: <file upload>

Do you think I should one form for all these or one form for the two
above textbox and one form with every file upload?
One form for all submitted information that belongs together.

Please quote the minimum of what you are replying to.
HTH

PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8*******************@news.demon.co.uk>
Aug 17 '07 #5
I'm sorry. Thanks you.

Aug 17 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by torso | last post: by
Ciary
1 post views Thread by Ciary | last post: by
Canabeez
1 post views Thread by Canabeez | last post: by
Frinavale
2 posts views Thread by Frinavale | last post: by
reply views Thread by kamranasdasdas | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.