test119 540 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Server-side
  2. <reply>
  3. </reply>
  4. # Client-side
  5. <client>
  6. <server>
  7. ftp
  8. </server>
  9. <name>
  10. FTP download, failed RETR with PORT
  11. </name>
  12. <command>
  13. ftp://%HOSTIP:%FTPPORT/119 -P -
  14. </command>
  15. <file name="log/ftpserver.cmd">
  16. REPLY RETR 314 bluah you f00l!
  17. </file>
  18. </test>
  19. # Verify data after the test has been "shot"
  20. <verify>
  21. <errorcode>
  22. 19
  23. </errorcode>
  24. <strip>
  25. ^PORT.*
  26. ^EPRT .*
  27. ^LPRT .*
  28. </strip>
  29. <protocol>
  30. USER anonymous
  31. PASS curl_by_daniel@haxx.se
  32. PWD
  33. TYPE I
  34. SIZE 119
  35. RETR 119
  36. QUIT
  37. </protocol>
  38. </verify>