test238 549 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. </keywords>
  6. </info>
  7. # Server-side
  8. <reply>
  9. <servercmd>
  10. REPLY EPSV 229 Entering Passiv Mode (|||1000000|)
  11. </servercmd>
  12. </reply>
  13. # Client-side
  14. <client>
  15. <server>
  16. ftp
  17. </server>
  18. <name>
  19. FTP getting bad port in response to EPSV
  20. </name>
  21. <command>
  22. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
  23. </command>
  24. </client>
  25. # Verify data after the test has been "shot"
  26. <verify>
  27. # 13 = CURLE_FTP_WEIRD_PASV_REPLY
  28. <errorcode>
  29. 13
  30. </errorcode>
  31. <protocol>
  32. USER anonymous
  33. PASS ftp@example.com
  34. PWD
  35. EPSV
  36. QUIT
  37. </protocol>
  38. </verify>
  39. </testcase>