diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 8924a394aa4b153d236386a067077bd207b72a34..c4e1598c2c9b9af38e07ca8630037b911ba49e83 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -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 diff --git a/tests/data/test401 b/tests/data/test401 new file mode 100644 index 0000000000000000000000000000000000000000..cb01c1c2cdf3a1c41189168db0f6de86806df558 --- /dev/null +++ b/tests/data/test401 @@ -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>