2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2012-11-16 19:42:51 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
2004-12-17 06:22:11 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
2023-10-04 17:35:54 +08:00
|
|
|
<name>
|
2004-12-17 06:22:11 +08:00
|
|
|
FTP upload two files to the same dir
|
2023-10-04 17:35:54 +08:00
|
|
|
</name>
|
|
|
|
<command>
|
2023-03-29 09:20:54 +08:00
|
|
|
-T %LOGDIR/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/ -T %LOGDIR/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/%2e%2eanotherup.%TESTNUMBER
|
2004-12-17 06:22:11 +08:00
|
|
|
</command>
|
2023-03-29 09:20:54 +08:00
|
|
|
<file name="%LOGDIR/upload.%TESTNUMBER">
|
2004-12-17 06:22:11 +08:00
|
|
|
upload this file twice
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2004-12-17 06:22:11 +08:00
|
|
|
PWD
|
|
|
|
CWD a
|
|
|
|
CWD path
|
2021-03-13 00:38:26 +08:00
|
|
|
CWD %TESTNUMBER
|
2004-12-17 06:22:11 +08:00
|
|
|
EPSV
|
|
|
|
TYPE I
|
2021-03-13 00:38:26 +08:00
|
|
|
STOR upload.%TESTNUMBER
|
2004-12-17 06:22:11 +08:00
|
|
|
EPSV
|
2021-03-13 00:38:26 +08:00
|
|
|
STOR ..anotherup.%TESTNUMBER
|
2004-12-17 06:22:11 +08:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|