> For the complete documentation index, see [llms.txt](https://igb.mit.edu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://igb.mit.edu/mini-courses/introduction-to-unix/files/file-transfer-in-progress.md).

# File Transfer (in-progress)

* `scp`
  * Allows you to transfer files between a local and remote host. It does this by leveraging `ssh`.
  * Shares the same syntax as the normal `cp` command.

```
# Transfer from local computer to remote computer

scp <source file> <username>@<remote host>:<destination>

scp agenda.txt asoberan@luria.mit.edu:/home/asoberan/unxiclass

# Transfer from remote computer to local computer

scp <username>@<remote host>:<source file> <destination>

scp asoberan@luria.mit.edu:/home/asoberan/arrayDat.txt .
```
