HTTP File Upload Smart Service corrupt file

I am using HTTP File Upload Smart Service to upload file to external system, the files were uploaded fine but they got corrupted, every uploaded files have been added HTTP headers like below

--JDtINckf5HQnr7i2tMF0UtzcX1Km8xffF69mEpmr
Content-Disposition: form-data; name="file"; filename="image_file.jpg"
Content-Type: image/jpeg
Content-Transfer-Encoding: binary

The only file type that works fine is PDF, file could still be opened even added HTTP headers, but every others file types (includes zip, image) are corrupted and could not be opened (text file could be open, but the HTTP headers inserted into content ).

My Appian version is 17.4

  Discussion posts and replies are publicly visible