test250 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. #
  3. # Server-side
  4. <reply>
  5. # When doing LIST, we get the default list output hard-coded in the test
  6. # FTP server
  7. <datacheck>
  8. total 20
  9. drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
  10. drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
  11. drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
  12. -r--r--r-- 1 0 1 35 Jul 16 1996 README
  13. lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
  14. dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
  15. drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
  16. dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
  17. drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
  18. dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
  19. </datacheck>
  20. <servercmd>
  21. SLOWDOWN
  22. </servercmd>
  23. </reply>
  24. #
  25. # Client-side
  26. <client>
  27. <server>
  28. ftp
  29. </server>
  30. <name>
  31. FTP dir list PASV with slow response
  32. </name>
  33. <command>
  34. ftp://%HOSTIP:%FTPPORT/
  35. </command>
  36. </client>
  37. #
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. <protocol>
  41. USER anonymous
  42. PASS ftp@example.com
  43. PWD
  44. EPSV
  45. TYPE A
  46. LIST
  47. QUIT
  48. </protocol>
  49. </verify>
  50. </testcase>