473,778 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4494
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.de mon.co.uk>
Aug 17 '07 #5
I'm sorry. Thanks you.

Aug 17 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2994
by: Sarah | last post by:
I am using the javascript showModalDialog function to open a file upload window. The function opens a page which contains a usercontrol housing the file upload stuff. The control works fine when tested independently, but when called through showModalDialog on submit, another window is opened (a fullsize version of the page passed to showModalDialog). Is this a bug, by design, or have I made some sort of error? thanks
1
3592
Fary4u
by: Fary4u | last post by:
Hi Guys i'm trying to upload a file, i've tried 3 different methods but still not work out i don't know how to over come this problem hidden file value, multiple form or popup uploading. 1- <SCRIPT TYPE="text/javascript"> function popupform(myform, windowname)
3
4513
by: kksandeep | last post by:
i am using this three files to uplod file. i got this file from net but i think these have some error. i am new to this field plz help the script i found is some helpful but not too that i need my objective is this that when i uplod a file it should be desply on same page with ajax uplod after when i refresh page this should be not remains longer and on clicking other image its replase previous image plz help how i can do this the...
1
3953
by: kksandeep | last post by:
i am using this three files to uplod file. i got this file from net but i think these have some error. i am new to this field plz help the script i found is some helpful but not too that i need my objective is this that when i uplod a file it should be desply on same page with ajax uplod after when i refresh page this should be not remains longer and on clicking other image its replase previous image plz help how i can do this the...
1
2077
by: thulaseeram | last post by:
I am using iframe to store uploaded images, it is uploading fine in IE but it is not happening in firefox means first time it is uploading image if i try to upload second image it is not calling even java script function and not uploading the image in firefox. I am using this code in the button onclick event "attach_frame.upload();" here attach_frame is the iframe name and id to which the uploaded image should add. please can any one help me to...
9
4508
by: torso | last post by:
Hi Does someone know a good tutorial for multiple file upload with xmlHttpRequest. I am trying to do directory upload. So I could choose directorys and upload those to the server. Another solution would be fake multiple file upload. It's takes only address of directorys and after choosing few address, you could push send button and PHP would do the rest.
1
1668
Ciary
by: Ciary | last post by:
hi all, i wasnt really sure where to post this since it's a combination of Javascript and PHP. i'm trying to make a fileuploader without reloading the page. my structure: at the moment, i can upload files without reloading the page. i set the target of the upload form to a hidden iframe and loaded upload.php in it. my problem: when the upload starts, i make a div 'loading' visible. to hide it again i trigger an event when the upload is...
1
4450
Canabeez
by: Canabeez | last post by:
Hi all, anyone has an idea why IE is not uploading file and FF does? I'm creating a FORM + IFRAME using DOM and trying to upload a file, now Firefox and Chrome do thins perfectly. I have attached a Log from HTTPAnalyzer. Anyhow, here's the code I'm running, Class File: HTMLElement.Upload = function(Params) { var FORM = new HTMLElement(HTMLElement.FORM,{
2
3960
Frinavale
by: Frinavale | last post by:
I'm attempting to upload a file asynchronously to the server by using an IFrame. I have an Asp.NET FileUpload control on the page (which renders as an <input type="file> HTML element) and a submit button along with an IFrame. I am attempting to redirect the form's target into the IFrame. I have the following JavaScript function which should redirect the form's action into an Iframe on the page: function...
0
9464
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10122
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9923
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8954
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7471
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6722
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5368
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2860
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.