test1233 646 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. connect to non-listen
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <servercmd>
  11. # Assuming there's nothing listening on port 1
  12. REPLY EPSV 229 Entering Passiv Mode (|||1|)
  13. </servercmd>
  14. <data>
  15. here are some bytes
  16. </data>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <server>
  21. ftp
  22. </server>
  23. <name>
  24. FTP failing to connect to EPSV port, switching to PASV
  25. </name>
  26. <command>
  27. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
  28. </command>
  29. </client>
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <protocol>
  33. USER anonymous
  34. PASS ftp@example.com
  35. PWD
  36. EPSV
  37. PASV
  38. TYPE I
  39. SIZE %TESTNUMBER
  40. RETR %TESTNUMBER
  41. QUIT
  42. </protocol>
  43. </verify>
  44. </testcase>