Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

increase upload limit via browser

chrislu406aaf7c147c
diff --git a/weed/admin/handlers/file_browser_handlers.go b/weed/admin/handlers/file_browser_handlers.go
index c8e1170414..c644cc942b 100644
--- a/weed/admin/handlers/file_browser_handlers.go
+++ b/weed/admin/handlers/file_browser_handlers.go
@@ -220,7 +220,7 @@ func (h *FileBrowserHandlers) UploadFile(c *gin.Context) {
}
// Parse multipart form
- err := c.Request.ParseMultipartForm(100 << 20) // 100MB max memory
+ err := c.Request.ParseMultipartForm(1 << 30) // 1GB max memory for large file uploads
if err != nil {
c.JSON(http.StatusBadRequest, gin.H{"error": "Failed to parse multipart form: " + err.Error()})
return
diff --git a/weed/admin/static/js/admin.js b/weed/admin/static/js/admin.js
index 2049652cd2..1758cde828 100644
--- a/weed/admin/static/js/admin.js
+++ b/weed/admin/static/js/admin.js
@@ -1173,13 +1173,7 @@ async function submitUploadFile() {
return;
}
- // Validate individual file sizes
- const maxIndividualSize = 100 * 1024 * 1024; // 100MB per file
- const oversizedFiles = files.filter(file => file.size > maxIndividualSize);
- if (oversizedFiles.length > 0) {
- showErrorMessage(`Some files exceed 100MB limit: ${oversizedFiles.map(f => f.name).join(', ')}`);
- return;
- }
+ // Individual file size validation removed - no limit per file
const formData = new FormData();
files.forEach(file => {