• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8# Server-side
9<reply>
10</reply>
11
12# Client-side
13<client>
14<server>
15ftp
16</server>
17# tool is what to use instead of 'curl'
18<tool>
19lib%TESTNUMBER
20</tool>
21
22 <name>
23FTP upload with rename after transfer
24 </name>
25 <command>
26ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/upload%TESTNUMBER
27</command>
28<file name="log/upload%TESTNUMBER">
29Contents
30of
31a file
32to verify
33ftp
34upload
35
36
37works?
38</file>
39</client>
40
41# Verify data after the test has been "shot"
42<verify>
43<upload>
44Contents
45of
46a file
47to verify
48ftp
49upload
50
51
52works?
53</upload>
54<protocol>
55USER anonymous
56PASS ftp@example.com
57PWD
58EPSV
59TYPE I
60STOR %TESTNUMBER
61RNFR %TESTNUMBER
62RNTO %TESTNUMBER-forreal
63QUIT
64</protocol>
65</verify>
66</testcase>
67