FTP
PORT
STOR
multi
# Server-side
# Client-side
ftp
lib%TESTNUMBER
FTP PORT upload using multi interface (weird cleanup function sequence)
ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %LOGDIR/upload%TESTNUMBER
Moooooooooooo
upload this
# Verify data after the test has been "shot"
QUIT
# 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 path
PORT 127,0,0,1,5,109
TYPE I
STOR %TESTNUMBER
QUIT
Moooooooooooo
upload this