test1102 671 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. SYST
  6. SITE
  7. OS400
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data nocheck="yes">
  13. blabla
  14. </data>
  15. <servercmd>
  16. REPLY PWD 257 "QGPL" is the current library
  17. REPLY SYST 215 OS/400 runs this server
  18. REPLY SITE 250 Name format set to 1
  19. </servercmd>
  20. </reply>
  21. # Client-side
  22. <client>
  23. <server>
  24. ftp
  25. </server>
  26. <name>
  27. FTP OS/400 server name format check
  28. </name>
  29. <command>
  30. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
  31. </command>
  32. </client>
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <protocol>
  36. USER anonymous
  37. PASS ftp@example.com
  38. PWD
  39. SYST
  40. SITE NAMEFMT 1
  41. PWD
  42. EPSV
  43. TYPE I
  44. SIZE %TESTNUMBER
  45. RETR %TESTNUMBER
  46. QUIT
  47. </protocol>
  48. </verify>
  49. </testcase>