test134 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #
  2. # Server-side
  3. <reply name="1">
  4. <data>
  5. total 20
  6. drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
  7. drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
  8. drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
  9. -r--r--r-- 1 0 1 35 Jul 16 1996 README
  10. lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
  11. dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
  12. drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
  13. dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
  14. drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
  15. dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
  16. </data>
  17. </reply>
  18. #
  19. # Client-side
  20. <client>
  21. <features>
  22. netrc_debug
  23. </features>
  24. <server>
  25. ftp
  26. </server>
  27. <name>
  28. FTP (optional .netrc; programmatic user/passwd) dir list PASV
  29. </name>
  30. <command>
  31. --netrc-optional -u romulus:rhemus ftp://mary:mark@%HOSTIP:%FTPPORT/
  32. </command>
  33. <file name="log/netrc" >
  34. # the following two lines were created while testing curl
  35. machine %HOSTIP login user1 password passwd1
  36. machine %HOSTIP login user2 password passwd2
  37. </file>
  38. </test>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <strip>
  43. filter off really nothing
  44. </strip>
  45. <protocol>
  46. USER romulus
  47. PASS rhemus
  48. PWD
  49. EPSV
  50. TYPE A
  51. LIST
  52. QUIT
  53. </protocol>
  54. </verify>