test120 612 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. post-quote
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data>
  13. data
  14. to
  15. see
  16. that FTP
  17. works
  18. so does it?
  19. </data>
  20. <servercmd>
  21. REPLY EPSV 314 bluah you f00l!
  22. </servercmd>
  23. </reply>
  24. # Client-side
  25. <client>
  26. <server>
  27. ftp
  28. </server>
  29. <name>
  30. ftp download with post-quote delete operation
  31. </name>
  32. <command>
  33. ftp://%HOSTIP:%FTPPORT/120 -Q "-DELE file"
  34. </command>
  35. </client>
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <protocol>
  39. USER anonymous
  40. PASS ftp@example.com
  41. PWD
  42. EPSV
  43. PASV
  44. TYPE I
  45. SIZE 120
  46. RETR 120
  47. DELE file
  48. QUIT
  49. </protocol>
  50. </verify>
  51. </testcase>