File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test407
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (4 years, 6 months ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

<testcase>
<info>
<keywords>
FTP
FTPS
PASV
RETR
</keywords>
</info>

# Server-side
<reply>
<data>
data blobb
</data>

# data is sent to stdout
</reply>

# Client-side
<client>
<features>
SSL
</features>
<server>
ftps
</server>
 <name>
Get two FTPS files from the same remote dir: no second CWD
 </name>
 <command>
-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/a/path/407 ftps://%HOSTIP:%FTPSPORT/a/path/407
</command>
<stdout>
data blobb
data blobb
</stdout>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
CWD a
CWD path
EPSV
TYPE I
SIZE 407
RETR 407
EPSV
SIZE 407
RETR 407
QUIT
</protocol>
</verify>
</testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>