xref: /curl/tests/data/test661 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8#
9# Server-side
10<reply>
11<data>
12</data>
13</reply>
14
15# Client-side
16<client>
17<server>
18ftp
19</server>
20# tool is what to use instead of 'curl'
21<tool>
22lib%TESTNUMBER
23</tool>
24
25<name>
26Avoid redundant CWDs
27</name>
28<command>
29ftp://%HOSTIP:%FTPPORT/
30</command>
31</client>
32
33#
34# Verify data after the test has been "shot"
35<verify>
36<strip>
37QUIT
38</strip>
39<protocol>
40USER anonymous
41PASS ftp@example.com
42PWD
43CWD /folderA
44EPSV
45TYPE I
46RETR %TESTNUMBER
47CWD /folderB
48EPSV
49RETR %TESTNUMBER
50QUIT
51USER anonymous
52PASS ftp@example.com
53PWD
54EPSV
55TYPE I
56RETR /folderA/%TESTNUMBER
57CWD /folderB
58EPSV
59RETR %TESTNUMBER
60EPSV
61RETR /folderA/%TESTNUMBER
62QUIT
63USER anonymous
64PASS ftp@example.com
65PWD
66SYST
67QUIT
68USER anonymous
69PASS ftp@example.com
70PWD
71SYST
72SYST
73QUIT
74</protocol>
75</verify>
76</testcase>
77