mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
58 lines
633 B
Plaintext
58 lines
633 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
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>
|