xref: /curl/tests/data/test562 (revision cd4aee15)
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<strip>
43QUIT
44</strip>
45<protocol>
46USER anonymous
47PASS ftp@example.com
48PWD
49EPSV
50TYPE A
51RETR %TESTNUMBER
52QUIT
53</protocol>
54</verify>
55</testcase>
56