Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fichier: increase maximum file size from 100GB to 300GB - fixes #4634

gyutwe7fbdac8e0bb
diff --git a/backend/fichier/fichier.go b/backend/fichier/fichier.go
index b8689a8d5..b5cc3b1ae 100644
--- a/backend/fichier/fichier.go
+++ b/backend/fichier/fichier.go
@@ -323,7 +323,7 @@ func (f *Fs) Put(ctx context.Context, in io.Reader, src fs.ObjectInfo, options .
// This will create a duplicate if we upload a new file without
// checking to see if there is one already - use Put() for that.
func (f *Fs) putUnchecked(ctx context.Context, in io.Reader, remote string, size int64, options ...fs.OpenOption) (fs.Object, error) {
- if size > int64(100e9) {
+ if size > int64(300e9) {
return nil, errors.New("File too big, cant upload")
} else if size == 0 {
return nil, fs.ErrorCantUploadEmptyFiles