curl-curl/tests/data/test409
Viktor Szakats c6bd2e6a9a
tests: prefer --insecure over -k
To make it uniform in all tests, and greppability.

Also:
- replace `-k` flag with `-q` in test 1268. (the actual flag doesn't
  matter in this test)
- keep `-k` in test 300 to test its short form.
  (also verified to fail without a working `-k`)

Closes #16878
2025-04-03 23:18:55 +02:00

58 lines
676 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="%LOGDIR/test%TESTNUMBER.txt">
data
to
see
that FTP
works
so does it?
</file>
<command>
--insecure --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.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 %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>