Question: how do you sftp a file?
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.