• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4FTP
5EPSV
6netrc
7macdef
8</keywords>
9</info>
10#
11# Server-side
12<reply>
13<data>
14blipp
15</data>
16</reply>
17
18#
19# Client-side
20<client>
21<server>
22ftp
23</server>
24<name>
25skip 'macdef' when parsing netrc
26</name>
27<command>
28--netrc --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
29</command>
30<file name="%LOGDIR/netrc%TESTNUMBER" >
31
32macdef testmacro
33	bin
34	cd default
35	cd login
36	put login.bin
37	cd ..
38	cd password
39	put password.bin
40	quit
41
42machine %HOSTIP login user1 password passwd1
43</file>
44</client>
45
46#
47# Verify data after the test has been "shot"
48<verify>
49<protocol>
50USER user1
51PASS passwd1
52PWD
53EPSV
54TYPE I
55SIZE %TESTNUMBER
56RETR %TESTNUMBER
57QUIT
58</protocol>
59</verify>
60</testcase>
61