?
Solved

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

Posted on 2013-05-14
5
Medium Priority
?
200 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 250 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 84

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 84

Accepted Solution

by:
Dave Baldwin earned 250 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

609 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