[ 
https://issues.apache.org/jira/browse/SLING-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044010#comment-14044010
 ] 

Felix Meschberger commented on SLING-3661:
------------------------------------------

[~amitgupt], [~alexander.klimetschek] I think we cannot and probably should 
reuse the chunked upload stuff. This case is much simpler in that essentially a 
restart just appends to what's already there. The only "safety" net here is 
that the retry specifies the offset and we verify that the offset is the same 
as the existing file size. If this number does not match, the retry fails.

> ftp server should support resumable file uploads
> ------------------------------------------------
>
>                 Key: SLING-3661
>                 URL: https://issues.apache.org/jira/browse/SLING-3661
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Amrit Verma
>            Assignee: Felix Meschberger
>             Fix For: FTP Server 1.0.0
>
>         Attachments: SLING-3661-fmeschbe.patch, resumeUploadDiff.txt
>
>
> The ftp server should support resuming file uploads.
> Steps:
> 1. Connect to ftp server and start file upload.
> 2. Terminate file upload in the middle.
> 3. Try resuming the upload.
> Issue: The server sends 551 error code. It only supports overwriting the 
> existing file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to