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