简体   繁体   中英

Apache Sling resumable upload

I wonder, is there support for resumable file upload/download in Apache Sling.

I want to build web content repository system (based on JCR repository) with java client. Something similar to Dropbox and Google Drive. And it should be able to continue file transferring after network errors or user pause request.

And if there is no support for this, can someone suggest a solution for resumable file upload/download with JCR repository?

I don't think that there is resumable upload out-of-the-box in Sling - or any other Java framework by that matter. What I would do is split large files in chunks on the client and then upload them sequentially.

You can have a look at the ResumableHttpUploadTask - Apache 2 License for a pure HTTP, single-file approach.

目前(2013年)在Sling努力添加可恢复的上传: https//issues.apache.org/jira/browse/SLING-2707

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM