test403 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. FTPS
  6. PASV
  7. LIST
  8. CCC
  9. FAILURE
  10. </keywords>
  11. </info>
  12. #
  13. # Server-side
  14. <reply>
  15. # When doing LIST, we get the default list output hard-coded in the test
  16. # FTPS server
  17. <datacheck mode="text">
  18. total 20
  19. drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
  20. drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
  21. drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
  22. -r--r--r-- 1 0 1 35 Jul 16 1996 README
  23. lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
  24. dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
  25. drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
  26. dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
  27. drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
  28. dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
  29. </datacheck>
  30. </reply>
  31. #
  32. # Client-side
  33. <client>
  34. <features>
  35. SSL
  36. </features>
  37. <server>
  38. ftps
  39. </server>
  40. <name>
  41. FTPS with CCC not supported by server
  42. </name>
  43. <command>
  44. -k --ftp-ssl-control --ftp-ssl-ccc ftps://%HOSTIP:%FTPSPORT/
  45. </command>
  46. </client>
  47. #
  48. # Verify data after the test has been "shot"
  49. <verify>
  50. <protocol>
  51. USER anonymous
  52. PASS ftp@example.com
  53. PBSZ 0
  54. PROT C
  55. CCC
  56. PWD
  57. EPSV
  58. TYPE A
  59. LIST
  60. QUIT
  61. </protocol>
  62. </verify>
  63. </testcase>