mirror of
https://github.com/curl/curl.git
synced 2026-07-30 15:28:45 +03:00
Added FTPS upload tests 408 and 409.
This commit is contained in:
parent
41ba7666f0
commit
85707460e5
3 changed files with 119 additions and 1 deletions
56
tests/data/test409
Normal file
56
tests/data/test409
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTPS
|
||||
EPSV
|
||||
STOR
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<features>
|
||||
SSL
|
||||
</features>
|
||||
<server>
|
||||
ftps
|
||||
</server>
|
||||
<name>
|
||||
FTPS PASV upload file
|
||||
</name>
|
||||
<file name="log/test409.txt">
|
||||
data
|
||||
to
|
||||
see
|
||||
that FTP
|
||||
works
|
||||
so does it?
|
||||
</file>
|
||||
<command>
|
||||
-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/409 -T log/test409.txt
|
||||
</command>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<upload>
|
||||
data
|
||||
to
|
||||
see
|
||||
that FTP
|
||||
works
|
||||
so does it?
|
||||
</upload>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
PBSZ 0
|
||||
PROT C
|
||||
PWD
|
||||
EPSV
|
||||
TYPE I
|
||||
STOR 409
|
||||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue