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.

add upload response (#3428)

Eric Yang986daecbfea1
diff --git a/weed/server/filer_ui/filer.html b/weed/server/filer_ui/filer.html
index 90e3be39e9..217802dd9c 100644
--- a/weed/server/filer_ui/filer.html
+++ b/weed/server/filer_ui/filer.html
@@ -288,6 +288,11 @@
function uploadFile(file, i) {
var url = window.location.href;
var xhr = new XMLHttpRequest();
+ xhr.onreadystatechange = function() {
+ if (xhr.readyState == XMLHttpRequest.DONE) {
+ location.reload();
+ }
+ }
var fileName = file.name;
xhr.upload.addEventListener('progress', function(e) {
if (e.lengthComputable) {