I'm using Google Script App to upload the file on the form. Suddenly, the uploaded logic stop working.The uploaded files are corrupted and twice size as original file.
Here the code samples:
<input id="applicantPhoto" class="upload-file-field" type="file" name="applicantPhoto">
GS:
var folder = DriveApp.createFolder("MyUploadFolder);
var blob = form.applicantPhoto;
var file = folder.createFile(blob);
The headers of the files are different. The broken uploaded jpg file's header: ���� JFIF �� Original jpg file: ÿØÿà JFIF ÿâ