test562 730 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. lib562
  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/562;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 ftp@example.com
  41. PWD
  42. EPSV
  43. TYPE A
  44. SIZE 562
  45. RETR 562
  46. QUIT
  47. </protocol>
  48. </verify>
  49. </testcase>