File transfer on sftp server through REST POST snap

Hi Team,

we have to transfer the flat csv file from one sftp server to another sftp server, but we dont have the access of target sftp server throuh winscp or filezila.
Only option we have that we can transfer the file through REST post snap, Idea is on target server they will publish their end point url along with Bearer token and we have to call their API through REST POST snap along with our source csv flat file.

Can anyone comment on this ?
I am able to place file but its coming like below in target file :slight_smile:

Content-Disposition: form-data; name=“file”; filename=“Test_File_Subhash_7.csv”
Content-Type: text/csv; charset=UTF-8
Content-Transfer-Encoding: binary

Test FIle 1 to test
Test FIle 2 to test

But our original content is below :slight_smile:
Test FIle 1 to test
Test FIle 2 to test