• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4FTP
5EPSV
6STOR
7</keywords>
8</info>
9
10# Client-side
11<client>
12<server>
13ftp
14</server>
15<name>
16FTP PASV upload file
17</name>
18<file name="%LOGDIR/test%TESTNUMBER.txt">
19data
20    to
21      see
22that FTP
23works
24  so does it?
25</file>
26<command>
27ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt
28</command>
29</client>
30
31# Verify data after the test has been "shot"
32<verify>
33<upload>
34data
35    to
36      see
37that FTP
38works
39  so does it?
40</upload>
41<protocol>
42USER anonymous
43PASS ftp@example.com
44PWD
45EPSV
46TYPE I
47STOR %TESTNUMBER
48QUIT
49</protocol>
50</verify>
51</testcase>
52