test120 579 B

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