mirror of
https://github.com/moparisthebest/curl
synced 2024-11-08 18:45:05 -05:00
54 lines
674 B
Plaintext
54 lines
674 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
FTP
|
||
|
EPSV
|
||
|
APPE
|
||
|
Resume
|
||
|
</keywords>
|
||
|
</info>
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<size>
|
||
|
0
|
||
|
</size>
|
||
|
</reply>
|
||
|
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
ftp
|
||
|
</server>
|
||
|
<name>
|
||
|
FTP PASV upload resume from end of empty file
|
||
|
</name>
|
||
|
<command>
|
||
|
ftp://%HOSTIP:%FTPPORT/1039 -T log/upload1039 -C -
|
||
|
</command>
|
||
|
<file name="log/upload1039">
|
||
|
this is the *****cr@p******** that we're gonna upload
|
||
|
|
||
|
worx?
|
||
|
</file>
|
||
|
</client>
|
||
|
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<protocol>
|
||
|
USER anonymous
|
||
|
PASS ftp@example.com
|
||
|
PWD
|
||
|
EPSV
|
||
|
TYPE I
|
||
|
SIZE 1039
|
||
|
STOR 1039
|
||
|
QUIT
|
||
|
</protocol>
|
||
|
<upload>
|
||
|
this is the *****cr@p******** that we're gonna upload
|
||
|
|
||
|
worx?
|
||
|
</upload>
|
||
|
</verify>
|
||
|
</testcase>
|