FTP PASV RETR # Server-side silly data over FTP # Client-side ftp lib%TESTNUMBER FTP a type=A URL and CURLOPT_PORT set # note that we need quotes around the URL below to make sure the shell does not # treat the semicolon as a separator! 'ftp://%HOSTIP:23456/%TESTNUMBER;type=A' %FTPPORT # Verify data after the test has been "shot" # There is no MTDM in the protocol here since this code does not ask for the # time/date of the file USER anonymous PASS ftp@example.com PWD EPSV TYPE A RETR %TESTNUMBER QUIT