mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Added ftps upload test 401
This commit is contained in:
parent
f6e892b1b6
commit
c26320d94f
@ -38,4 +38,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
|
||||
test530 DISABLED test278 test279 test531 test280 test529 test532 test533 \
|
||||
test534 test535 test281 test537 test282 test283 test284 test538 test285 \
|
||||
test286 test307 test308 test287 test400 test288 test600 test601 test602 \
|
||||
test603
|
||||
test603 test401
|
||||
|
56
tests/data/test401
Normal file
56
tests/data/test401
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/test401.txt">
|
||||
data
|
||||
to
|
||||
see
|
||||
that FTPS
|
||||
works
|
||||
so does it?
|
||||
</file>
|
||||
<command>
|
||||
-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/401 -T log/test401.txt
|
||||
</command>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<upload>
|
||||
data
|
||||
to
|
||||
see
|
||||
that FTPS
|
||||
works
|
||||
so does it?
|
||||
</upload>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
PBSZ 0
|
||||
PROT C
|
||||
PWD
|
||||
EPSV
|
||||
TYPE I
|
||||
STOR 401
|
||||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
Loading…
Reference in New Issue
Block a user