test270 589 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. data
  13. to
  14. see
  15. that FTP
  16. works
  17. so does it?
  18. </data>
  19. <servercmd>
  20. PASVBADIP
  21. </servercmd>
  22. </reply>
  23. # Client-side
  24. <client>
  25. <server>
  26. ftp
  27. </server>
  28. <name>
  29. FTP RETR PASV --ftp-skip-pasv-ip
  30. </name>
  31. <command>
  32. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-skip-pasv-ip --disable-epsv
  33. </command>
  34. </client>
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. USER anonymous
  39. PASS ftp@example.com
  40. PWD
  41. PASV
  42. TYPE I
  43. SIZE %TESTNUMBER
  44. RETR %TESTNUMBER
  45. QUIT
  46. </protocol>
  47. </verify>
  48. </testcase>