test1207 638 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PORT
  6. RETR
  7. NODATACONN421
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data nocheck="yes">
  13. some bytes
  14. </data>
  15. <servercmd>
  16. NODATACONN421
  17. </servercmd>
  18. </reply>
  19. # Client-side
  20. <client>
  21. <server>
  22. ftp
  23. </server>
  24. <name>
  25. FTP PORT and 421 on download
  26. </name>
  27. <command>
  28. --max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1207 -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 1207
  43. RETR 1207
  44. QUIT
  45. </protocol>
  46. <errorcode>
  47. 10
  48. </errorcode>
  49. </verify>
  50. </testcase>