xref: /curl/tests/data/test562 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4FTP
5PASV
6RETR
7</keywords>
8</info>
9# Server-side
10<reply>
11<data>
12silly data
13over FTP
14</data>
15</reply>
16
17# Client-side
18<client>
19<server>
20ftp
21</server>
22<tool>
23lib%TESTNUMBER
24</tool>
25<name>
26FTP a type=A URL and CURLOPT_PORT set
27</name>
28
29# note that we need quotes around the URL below to make sure the shell doesn't
30# treat the semicolon as a separator!
31<command>
32'ftp://%HOSTIP:23456/%TESTNUMBER;type=A' %FTPPORT
33</command>
34
35</client>
36
37# Verify data after the test has been "shot"
38#
39# There's no MTDM in the protocol here since this code doesn't ask for the
40# time/date of the file
41<verify>
42<protocol>
43USER anonymous
44PASS ftp@example.com
45PWD
46EPSV
47TYPE A
48RETR %TESTNUMBER
49QUIT
50</protocol>
51</verify>
52</testcase>
53