> For the complete documentation index, see [llms.txt](https://jotter.gitbook.io/red-team/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jotter.gitbook.io/red-team/network/common-protocols/ftp.md).

# FTP

## FTP

FTP handles basic file transfers. It's worth checking to see if any FTP servers accept anonymous authentication. Use `type binary` and toggle `passive` mode for large transfers. Steal as much as you can!

**FTP over SSL**

```
openssl s_client -connect 10.129.14.136:21 -starttls ftp
```

**Common FTP Config Files**

```
/etc/vsftpd.conf
/etc/ftpusers
```

**Recursively Get Everything**

```
wget -m --no-passive ftp://anonymous:anonymous@10.129.14.136
```
