mirror of
https://github.com/moparisthebest/curl
synced 2024-11-18 07:25:14 -05:00
8d49a8f278
uploads with -C - didn't resume properly, but the tests pass.
54 lines
652 B
Plaintext
54 lines
652 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
EPSV
|
|
APPE
|
|
Resume
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
<size>
|
|
17
|
|
</size>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP PASV upload resume from end of file
|
|
</name>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/1038 -T log/upload1038 -C -
|
|
</command>
|
|
<file name="log/upload1038">
|
|
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 1038
|
|
APPE 1038
|
|
QUIT
|
|
</protocol>
|
|
<upload>
|
|
cr@p******** that we're gonna upload
|
|
|
|
worx?
|
|
</upload>
|
|
</verify>
|
|
</testcase>
|