sftpgo-mirror/config
Nicola Murino 1d917561fe sftpd: add support for upload resume
we support resume only if the client sets the correct offset while resuming
the upload.
Based on the specs the offset is optional for resume, but all the tested
clients sets a right offset.
If an invalid offset is given we interrupt the transfer with the error
"Invalid write offset ..."

See https://github.com/pkg/sftp/issues/295

This commit add a new upload mode: "atomic with resume support", this acts
as atomic but if there is an upload error the temporary file is renamed
to the requested path and not deleted, this way a client can reconnect
and resume the upload
2019-10-09 17:33:30 +02:00
..
config.go sftpd: add support for upload resume 2019-10-09 17:33:30 +02:00
config_linux.go add version info 2019-08-08 10:01:33 +02:00
config_nolinux.go add version info 2019-08-08 10:01:33 +02:00
config_test.go add a basic web interface 2019-10-07 18:19:01 +02:00