When I deploy and try to download then its says file not found
Error: Ajax error for /Areas/Client/UploadedFiles/2327/Driveshaft.dwg : 404 Not Found
Failed to load resource: the server responded with a status of 404 (Not Found)
When I upload jpq or pdf its works fine but .dwg file giving error
the file is exist and it says not found. maybe because of .dwg format.
function zipFiles(file_paths, zipFileName, id) {
var zip = new JSZip();
var count = 0;
file_paths.forEach(function (url) {
JSZipUtils.getBinaryContent(url, function (err, data) {
if (err) {
//throw err;
showNotification(err);
}
count++;
if (data != null) {
zip.file(url, data, { binary: true });
if (count == file_paths.length) {
debugger
zip.folder('' + uploadedDirectory+'' + id+'/')
.generateAsync({ type: 'blob' }).then(function (content) {
debugger
saveAs(content, zipFileName);
});
}
}
});
});
}
Error: Ajax error for filepath : 404 Not Found