Skip to content

Commit

Permalink
content-update
Browse files Browse the repository at this point in the history
  • Loading branch information
584F525F committed Mar 23, 2024
1 parent a168369 commit e20266d
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions docs/File Transfers/File Transfer.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### telnet
### Telnet

```shell title="telnet"
```bash
telnet ip_address
ls
PASV
Expand All @@ -13,7 +13,9 @@ Exit

### FTP - File Transfer Protocol

```shell title="FTP"
#### commands

```bash
ftp ip_address
#enter username
#enter password
Expand Down Expand Up @@ -70,7 +72,9 @@ exit
quit
```

```bash title:"ftp switches"
#### switches

```bash
-4 Use only IPv4 to contact any host.
-6 Use IPv6 only.
-e Disables command editing and history support, if it was compiled into the ftp executable. Otherwise, it does nothing.
Expand All @@ -84,7 +88,9 @@ quit
### SCP - Secure Copy Protocol
```shell title="commands"
#### commands
```shell
scp <options> <source_path> <destination_path>
scp o s_path d_path

Expand Down Expand Up @@ -113,7 +119,9 @@ scp -r </path/to/directory> <username>@<ip_address>:</path/to/directory>
scp -r l_dir_path u@ip:r_dir_path
```
```shell title:"switches"
#### switches
```shell
-r # transfer directory
-v # see the transfer details
-C # copy files with compression
Expand All @@ -123,10 +131,9 @@ scp -r l_dir_path u@ip:r_dir_path
-q # hidden the output
```
### ftpd
```shell hl_lines="" title=""
```shell
/etc/init.d/pure-ftpd
```

0 comments on commit e20266d

Please sign in to comment.