Replacement for fancy file uploader

I think I might have found an excellent candidate to replace fancy file uploader with a more-finished implementation.

I accidentally ran into this while looking-up jQuery documentaiton. There appears to be a ton of followers for it.

That might be nice since there is a lot of technical debt to pay off if we stick with our current implementation.

1 Like

Yeah: at least I think when I started that file uploader, there weren’t any good alternatives.

function uploadFile(blobFile, fileName) {
var fd = new FormData();
fd.append(“fileToUpload”, blobFile);
var xhr = new XMLHttpRequest();
xhr.open(“POST”, “upload.php”, true);
xhr.send(fd);
}

I have use this code, its working properly…

===================
Virtuoso IT Solutions Pvt. Ltd.