xref: /curl/tests/data/test475 (revision 7eda757d)
1<testcase>
2<info>
3<keywords>
4FTP
5EPSV
6STOR
7TYPE A
8</keywords>
9</info>
10
11# Client-side
12<client>
13<server>
14ftp
15</server>
16<name>
17FTP PASV upload ASCII file
18</name>
19<file name="%LOGDIR/test%TESTNUMBER.txt" nonewline="yes">
20%if win32
21%repeat[1750 x a line of text used for verifying this !%0d%0a]%
22%else
23%repeat[1750 x a line of text used for verifying this !%0a]%
24%endif
25</file>
26<command>
27"ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=a" -T %LOGDIR/test%TESTNUMBER.txt
28</command>
29</client>
30
31# Verify data after the test has been "shot"
32<verify>
33<strip>
34QUIT
35</strip>
36<upload crlf="yes" nonewline="yes">
37%repeat[1750 x a line of text used for verifying this !%0a]%
38</upload>
39<protocol>
40USER anonymous
41PASS ftp@example.com
42PWD
43EPSV
44TYPE A
45STOR %TESTNUMBER
46QUIT
47</protocol>
48</verify>
49</testcase>
50