cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

File transfer on sftp server through REST POST snap

subhash_a_chand
New Contributor

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 ๐Ÿ™‚

โ€“exdaKoSupEie4I5GhXYNQ3_jw4olL1sVwO
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
โ€“exdaKoSupEie4I5GhXYNQ3_jw4olL1sVwOโ€“

But our original content is below ๐Ÿ™‚
Test FIle 1 to test
Test FIle 2 to test

1 REPLY 1

kkishore
New Contributor III

Hi Team,

Did any one answer this. Same issue we are facing. What was the solution