GitHub user shashank-itbhu opened a pull request:
https://github.com/apache/sling/pull/1
SLING-2707 Support of chunked file upload into Sling
Feature enhance with details at
https://cwiki.apache.org/confluence/display/SLING/Chunked+File+Upload+Support
1. Extension to
[SlingPostServlet|http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html]
2. Chunk upload is supported in "modify"operation of
[SlingPostServlet|http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html]
( ie. In default operation) . No new operation introduced for it
3. Chunks are saved in temporary location identified by upload id
4. Chunk processing
* First/Intermediate chunks: Chunk is saved in temporary location in jcr.
Ignores all upload semantics (@TypeHint, etc) and request parameters.
* Last chunk: Stitches all chunks. Process all upload semantics and request
parameters and creates jcr node structure at the right location.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shashank-itbhu/sling trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/sling/pull/1.patch
----
commit 1a3b17d498bf8781dab7ffcfffce3335e00dad72
Author: Shashank Gupta <[email protected]>
Date: 2013-02-28T15:59:42Z
SLING-2707 Support of chunked file upload into Sling
Feature enhance with details at
https://cwiki.apache.org/confluence/display/SLING/Chunked+File+Upload+Support
1. Extension to
[SlingPostServlet|http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html]
2. Chunk upload is supported in "modify"operation of
[SlingPostServlet|http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html]
( ie. In default operation) . No new operation introduced for it
3. Chunks are saved in temporary location identified by upload id
4. Chunk processing
* First/Intermediate chunks: Chunk is saved in temporary location in jcr.
Ignores all upload semantics (@TypeHint, etc) and request parameters.
* Last chunk: Stitches all chunks. Process all upload semantics and request
parameters and creates jcr node structure at the right location.
----