Question: how to transfer a file from windows to linux using sftp?
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.