test1211 612 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PORT
  6. RETR
  7. NODATACONN425
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data nocheck="yes">
  13. some bytes
  14. </data>
  15. <servercmd>
  16. NODATACONN425
  17. </servercmd>
  18. </reply>
  19. # Client-side
  20. <client>
  21. <server>
  22. ftp
  23. </server>
  24. <name>
  25. FTP PORT and 425 on download
  26. </name>
  27. <command>
  28. ftp://%HOSTIP:%FTPPORT/1211 -P -
  29. </command>
  30. </client>
  31. # Verify data after the test has been "shot"
  32. <verify>
  33. <strippart>
  34. s/^EPRT \|1\|(.*)/EPRT \|1\|/
  35. </strippart>
  36. <protocol>
  37. USER anonymous
  38. PASS ftp@example.com
  39. PWD
  40. EPRT |1|
  41. TYPE I
  42. SIZE 1211
  43. RETR 1211
  44. </protocol>
  45. <errorcode>
  46. 28
  47. </errorcode>
  48. </verify>
  49. </testcase>