test524 522 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. UPLOAD
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. </reply>
  12. #
  13. # Client-side
  14. <client>
  15. <server>
  16. ftp
  17. </server>
  18. <tool>
  19. lib%TESTNUMBER
  20. </tool>
  21. <name>
  22. FTP upload with target URL ending with slash
  23. </name>
  24. # first URL then proxy
  25. <command>
  26. ftp://%HOSTIP:%FTPPORT/path/to/
  27. </command>
  28. </client>
  29. #
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <protocol>
  33. USER anonymous
  34. PASS ftp@example.com
  35. PWD
  36. </protocol>
  37. # 3 is CURLE_URL_MALFORMAT
  38. <errorcode>
  39. 3
  40. </errorcode>
  41. </verify>
  42. </testcase>