test340 498 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. CWD
  7. --ftp-method
  8. singlecwd
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. </reply>
  15. # Client-side
  16. <client>
  17. <server>
  18. ftp
  19. </server>
  20. <name>
  21. FTP using %00 in path with singlecwd
  22. </name>
  23. <command>
  24. --ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/%00first/second/third/%TESTNUMBER
  25. </command>
  26. </client>
  27. # Verify data after the test has been "shot"
  28. <verify>
  29. <protocol>
  30. USER anonymous
  31. PASS ftp@example.com
  32. PWD
  33. </protocol>
  34. <errorcode>
  35. 3
  36. </errorcode>
  37. </verify>
  38. </testcase>