FTP
# Server-side
# Client-side
ftp
FTP upload two files to the same dir
-T %LOGDIR/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/ -T %LOGDIR/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/%2e%2eanotherup.%TESTNUMBER
upload this file twice
# Verify data after the test has been "shot"
QUIT
USER anonymous
PASS ftp@example.com
PWD
CWD a
CWD path
CWD %TESTNUMBER
EPSV
TYPE I
STOR upload.%TESTNUMBER
EPSV
STOR ..anotherup.%TESTNUMBER
QUIT