�...";

        uploadResponses = [];
        filesUploaded = 0;

        selectedFiles.forEach((file, index) => {
            const formData = new FormData();
            formData.append("pwd", pwd);
            formData.append("file", file);

            const xhr = new XMLHttpRequest();
            xhr.open("POST", "/upload", true);

            xhr.upload.onprogress = e => {
                if (e.lengthComputable) {
                    const percent = (e.loaded / e.total) * 100;
                    docu