FTP
#
# Server-side
file contents
contents for file number two
file contents
contents for file number two
# Client-side
ftp
# tool is what to use instead of 'curl'
lib%TESTNUMBER
Two FTP fetches using different CURLOPT_FTP_FILEMETHOD
ftp://%HOSTIP:%FTPPORT/path/to/the/file/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/to/the/file/%TESTNUMBER0001
#
# Verify data after the test has been "shot"
QUIT
USER anonymous
PASS ftp@example.com
PWD
CWD path/to/the/file
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
SYST
CWD /
EPSV
SIZE path/to/the/file/%TESTNUMBER0001
RETR path/to/the/file/%TESTNUMBER0001
QUIT