test297 553 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. <data>
  15. bla bla bla
  16. </data>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <server>
  21. ftp
  22. </server>
  23. <name>
  24. FTP CWD with --ftp-method singlecwd
  25. </name>
  26. <command>
  27. --ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/first/second/third/297
  28. </command>
  29. </client>
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <protocol>
  33. USER anonymous
  34. PASS ftp@example.com
  35. PWD
  36. CWD first/second/third
  37. EPSV
  38. TYPE I
  39. SIZE 297
  40. RETR 297
  41. QUIT
  42. </protocol>
  43. </verify>
  44. </testcase>