Skip to content

Instantly share code, notes, and snippets.

@ismyrnow
Created October 7, 2025 19:01
Show Gist options
  • Select an option

  • Save ismyrnow/ce256c4309dc7bac56ae111209122a57 to your computer and use it in GitHub Desktop.

Select an option

Save ismyrnow/ce256c4309dc7bac56ae111209122a57 to your computer and use it in GitHub Desktop.
Remote file transfer via sftp
sftp [email protected]
sftp> cd /remote/path/target
sftp> lcd ~/Documents/local_uploads
sftp> put *
Uploading file1.txt to /remote/path/target/file1.txt
Uploading file2.csv to /remote/path/target/file2.csv
sftp> bye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment