FTP
PORT
STOR
# Server-side
# Client-side
ftp
FTP PORT upload with CWD
ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/108 -T log/upload108 -P -
Moooooooooooo
upload this
# Verify data after the test has been "shot"
# Strip all valid kinds of PORT and EPRT that curl can send
^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
USER anonymous
PASS ftp@example.com
PWD
CWD CWD
CWD STOR
CWD RETR
PORT 127,0,0,1,5,109
TYPE I
STOR 108
QUIT
Moooooooooooo
upload this