test105 603 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. TYPE A
  7. RETR
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data>
  13. data
  14. to
  15. see
  16. that FTP
  17. works
  18. so does it?
  19. </data>
  20. <servercmd>
  21. REPLY EPSV 500 no such command
  22. </servercmd>
  23. </reply>
  24. # Client-side
  25. <client>
  26. <server>
  27. ftp
  28. </server>
  29. <name>
  30. FTP user+password in URL and ASCII transfer
  31. </name>
  32. <command>
  33. ftp://userdude:passfellow@%HOSTIP:%FTPPORT/%TESTNUMBER --use-ascii
  34. </command>
  35. </client>
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <protocol>
  39. USER userdude
  40. PASS passfellow
  41. PWD
  42. EPSV
  43. PASV
  44. TYPE A
  45. RETR %TESTNUMBER
  46. QUIT
  47. </protocol>
  48. </verify>
  49. </testcase>