title: getting message file not supported After downloading image file in nodejs . I'm uploading file from angular7 using Formdata
body: <p>I'm sending the image using formdata in angular to my nodejs api. and in nodejs i'm storing that file at myfolder but when i open my stored image file its shows 
  <code>"Abc.jpeg It appears that we don't support this file format"</code></p>
  
  <p>From nodejs i used multiparty, then i used formidable but getting same error in both
  I compared the size of file before uploading (original file) size was 78kb but after uploading the file size become 111kb. </p>
  
  <p><strong>Nodejs Code</strong></p>
  
  <pre><code>var form = new formidable.IncomingForm();
  form.parse(req, function (err, fields, files) {
      console.log(files.fileDetails.path);
      var oldpath = files.fileDetails.path;
      var newpath = 'C:/storage/myfolder/' + files.fileDetails.name;
      fs.rename(oldpath, newpath, function (err) {
          if (err) throw err;
          res.write('File uploaded and moved!');
          res.end();
      });
  })
  </code></pre>
  
  <p><strong>Angular Code</strong></p>
  
  <pre><code>public OnSubmit(formValue: any) {
      let main_form: FormData = new FormData();
      for(let j=0;j&lt;this.totalfiles.length; j++) {
          console.log("the values is ",&lt;File&gt;this.totalfiles[j]);
          console.log("the name is ",this.totalFileName[j]);
          main_form.append(fileDetails,this.totalfiles[j])
      }
      console.log(formValue.items)
  
      this._SocietyService.postFiles(main_form).subscribe(data =&gt; {
          console.log("result is ", data)
      })
  }
  </code></pre>