[ 
https://issues.apache.org/jira/browse/SLING-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger updated SLING-3661:
-------------------------------------

    Attachment: SLING-3661-fmeschbe.patch

Thanks for reporting. I agree that this feature would make a lot of sense.

I attache a simplified counter-proposal, though: Instead of creating an 
appending output stream, which does copy the data around, in the constructor I 
just prefill the temporary file with what's already in the property and when 
the stream is closed the contents of the file is just uploaded to the 
completely replace the existing (repository) file contents.

WDYT ?

> 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