mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:03:34 +03:00
ftp tests added
This commit is contained in:
parent
5a905e0bb8
commit
5c344fc23a
5 changed files with 151 additions and 6 deletions
36
tests/data/test110
Normal file
36
tests/data/test110
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
expected to be a file without the first part
|
||||
but we emulate that
|
||||
</data>
|
||||
<size>
|
||||
85
|
||||
</size>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<name>
|
||||
FTP download resume with set limit
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/110 -C 20
|
||||
</command>
|
||||
</test>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS curl_by_daniel@haxx.se
|
||||
PWD
|
||||
PASV
|
||||
TYPE I
|
||||
SIZE 110
|
||||
REST 20
|
||||
RETR 110
|
||||
</protocol>
|
||||
</verify>
|
||||
Loading…
Add table
Add a link
Reference in a new issue