Question: how do i transfer files from one sftp server to another?
Answer: Establish an sftp connection. ... 
(Optional) Change to a directory on the local system where you want the files copied to. ... 
Change to the source directory. ... 
Ensure that you have read permission for the source files. ... 
To copy a file, use the get command. ... 
Close the sftp connection.