test148 706 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Server-side
  2. <reply>
  3. </reply>
  4. # Client-side
  5. <client>
  6. <server>
  7. ftp
  8. </server>
  9. <name>
  10. FTP with --ftp-create-dirs (failing MKD)
  11. </name>
  12. <command>
  13. ftp://%HOSTIP:%FTPPORT/attempt/to/get/this/148 --ftp-create-dirs
  14. </command>
  15. </test>
  16. <file name="log/ftpserver.cmd">
  17. REPLY CWD 550 I won't allow this on my server
  18. REPLY MKD 550 We will have no such thing
  19. </file>
  20. </client>
  21. # Verify data after the test has been "shot"
  22. <verify>
  23. # strip all kinds of PORT, EPRT and LPRT curl can do
  24. <strip>
  25. ^PORT 127,0,0,1,.*
  26. ^EPRT.*
  27. ^LPRT.*
  28. </strip>
  29. <errorcode>
  30. 9
  31. </errorcode>
  32. <protocol>
  33. USER anonymous
  34. PASS curl_by_daniel@haxx.se
  35. PWD
  36. CWD attempt
  37. MKD attempt
  38. QUIT
  39. </protocol>
  40. </verify>