test106 623 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. EPSV
  6. TYPE A
  7. RETR
  8. type=
  9. </keywords>
  10. </info>
  11. # Server-side
  12. <reply>
  13. <data>
  14. data
  15. to
  16. see
  17. that FTP
  18. works
  19. so does it?
  20. </data>
  21. </reply>
  22. # Client-side
  23. <client>
  24. <server>
  25. ftp
  26. </server>
  27. <name>
  28. FTP GET with type=A style ASCII URL using %20 codes
  29. </name>
  30. <command>
  31. "ftp://%HOSTIP:%FTPPORT//path%20with%20%20spaces//and%20things2/%TESTNUMBER;type=A"
  32. </command>
  33. </client>
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <protocol>
  37. USER anonymous
  38. PASS [email protected]
  39. PWD
  40. CWD /
  41. CWD path with spaces
  42. CWD and things2
  43. EPSV
  44. TYPE A
  45. RETR %TESTNUMBER
  46. QUIT
  47. </protocol>
  48. </verify>
  49. </testcase>