cancel
Showing results for 
Search instead for 
Did you mean: 

How to copy file between two servers (sftps)

SL12345
New Contributor III

Hi snaplogic experts,
what is the best approach if i want to copy file from one sftp to another? Is there any snap, where can i use credentials for source sftp as well as credentials for destinaton sftp? - According to documentation, “File Operation” snap can be used only if source sftp = destiantion sftp.

Do i need workaround? get content of the file, store it via mapper to variable and send it to destination sftp?

Thank you

1 ACCEPTED SOLUTION

koryknick
Employee
Employee

You can do this with two snaps - File Reader attached directly to File Writer. The data is streamed as binary so it won’t matter what file type is being transferred.

View solution in original post

1 REPLY 1

koryknick
Employee
Employee

You can do this with two snaps - File Reader attached directly to File Writer. The data is streamed as binary so it won’t matter what file type is being transferred.