"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
http: immediately fail streaming uploads instead of spooling them first (see #1614)
Stefan Breunig323daae63e28
diff --git a/http/http.go b/http/http.goindex 13fc21851..442f5be99 100644--- a/http/http.go+++ b/http/http.go@@ -356,6 +356,11 @@ func (f *Fs) Put(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (fs.return nil, errorReadOnly}+// PutStream uploads to the remote path with the modTime given of indeterminate size+func (f *Fs) PutStream(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (fs.Object, error) {+ return nil, errorReadOnly+}+// Fs is the filesystem this remote http file object is located withinfunc (o *Object) Fs() fs.Info {return o.fs@@ -478,7 +483,8 @@ func (o *Object) MimeType() string {// Check the interfaces are satisfiedvar (- _ fs.Fs = &Fs{}- _ fs.Object = &Object{}- _ fs.MimeTyper = &Object{}+ _ fs.Fs = &Fs{}+ _ fs.PutStreamer = &Fs{}+ _ fs.Object = &Object{}+ _ fs.MimeTyper = &Object{})