Solved

How can I utilize chunking while still using a regular HTML form?

Posted on 2013-05-14
5
174 Views
Last Modified: 2013-11-04
I want to use a regular HTML form but possibly attach a javascript/jquery plugin to the form that will allow me to submit the uploaded media in chunks. How can I do this?
0
Comment
Question by:aristanoble
  • 2
  • 2
5 Comments
 
LVL 15

Assisted Solution

by:Jagadishwor Dulal
Jagadishwor Dulal earned 125 total points
ID: 39164029
0
 
LVL 1

Author Comment

by:aristanoble
ID: 39164775
Thanks but I do have to use the HTML form. When using the HTML form on the iPhone the browse button will allow them to upload an existing photo or take a photo with the camera. The ajax based solutions I've seen will only allow them to choose existing photos and not allow them to use their camera.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 39165757
That's because HTML form code for uploading Requires a file.  If it doesn't exist as a file, you can't select it.  That's true on all computer and devices.
0
 
LVL 1

Author Comment

by:aristanoble
ID: 39166999
Thank you Dave, so can you provide any code that would utilize an HTML form but also including the chunking aspect?
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 125 total points
ID: 39167109
No, because it is not under your control or even influence.  The format of the file data is negotiated between the client and server.  It can be binary or base64 encoded as best I can tell.  These links reference the appropriate internet standard.

http://www.vivtek.com/rfc1867.html
http://www.ietf.org/rfc/rfc1867.txt
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now