test562 737 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. silly data
  13. over FTP
  14. </data>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. ftp
  20. </server>
  21. <tool>
  22. lib%TESTNUMBER
  23. </tool>
  24. <name>
  25. FTP a type=A URL and CURLOPT_PORT set
  26. </name>
  27. # note that we need quotes around the URL below to make sure the shell doesn't
  28. # treat the semicolon as a separator!
  29. <command>
  30. 'ftp://%HOSTIP:23456/%TESTNUMBER;type=A' %FTPPORT
  31. </command>
  32. </client>
  33. # Verify data after the test has been "shot"
  34. #
  35. # There's no MTDM in the protocol here since this code doesn't ask for the
  36. # time/date of the file
  37. <verify>
  38. <protocol>
  39. USER anonymous
  40. PASS [email protected]
  41. PWD
  42. EPSV
  43. TYPE A
  44. RETR %TESTNUMBER
  45. QUIT
  46. </protocol>
  47. </verify>
  48. </testcase>