"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
serve/ftp: use io.SeekEnd instead of os.SEEK_END (deprecated since Go 1.7)
albertonyeaf593884b98
diff --git a/cmd/serve/ftp/ftp.go b/cmd/serve/ftp/ftp.goindex 28bd4325f..7e5423132 100644--- a/cmd/serve/ftp/ftp.go+++ b/cmd/serve/ftp/ftp.go@@ -469,7 +469,7 @@ func (d *Driver) PutFile(path string, data io.Reader, appendData bool) (n int64,}defer closeIO(path, of)- _, err = of.Seek(0, os.SEEK_END)+ _, err = of.Seek(0, io.SeekEnd)if err != nil {return 0, err}