test147 724 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Server-side
  2. <reply>
  3. <data>
  4. foo
  5. </data>
  6. </reply>
  7. # Client-side
  8. <client>
  9. <server>
  10. ftp
  11. </server>
  12. <name>
  13. FTP with --ftp-create-dirs (failing CWD)
  14. </name>
  15. <command>
  16. ftp://%HOSTIP:%FTPPORT/first/dir/here/147 --ftp-create-dirs
  17. </command>
  18. </test>
  19. <file name="log/ftpserver.cmd">
  20. REPLY CWD 550 I won't allow this on my server
  21. COUNT CWD 1
  22. </file>
  23. </client>
  24. # Verify data after the test has been "shot"
  25. <verify>
  26. # strip all kinds of PORT, EPRT and LPRT curl can do
  27. <strip>
  28. ^PORT 127,0,0,1,.*
  29. ^EPRT.*
  30. ^LPRT.*
  31. </strip>
  32. <protocol>
  33. USER anonymous
  34. PASS curl_by_daniel@haxx.se
  35. PWD
  36. CWD first
  37. MKD first
  38. CWD first
  39. CWD dir
  40. CWD here
  41. EPSV
  42. TYPE I
  43. SIZE 147
  44. RETR 147
  45. QUIT
  46. </protocol>
  47. </verify>