From 85707460e58c27665fb8a647e2ebb85ae14525fa Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 10 May 2007 20:03:20 +0000 Subject: Added FTPS upload tests 408 and 409. --- tests/data/Makefile.am | 3 ++- tests/data/test408 | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ tests/data/test409 | 56 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 tests/data/test408 create mode 100644 tests/data/test409 (limited to 'tests') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 5b290f835..14305c2c4 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -40,4 +40,5 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test286 test307 test308 test287 test400 test288 test600 test601 test602 \ test603 test401 test402 test290 test291 test292 test293 test403 test404 \ test405 test604 test605 test606 test607 test608 test609 test294 test295 \ - test296 test297 test298 test610 test611 test612 test406 test407 + test296 test297 test298 test610 test611 test612 test406 test407 test408 \ + test409 diff --git a/tests/data/test408 b/tests/data/test408 new file mode 100644 index 000000000..211d1fa04 --- /dev/null +++ b/tests/data/test408 @@ -0,0 +1,61 @@ + + + +FTPS +PORT +STOR + + +# Server-side + + + + + +# Client-side + + +SSL + + +ftps + + +FTPS PORT upload with CWD + + +-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/CWD/STOR/RETR/408 -T log/upload408 -P - + + +Moooooooooooo + upload this + + + +# Verify data after the test has been "shot" + + +^PORT .* +^EPRT .* +^LPRT .* + + +USER anonymous +PASS ftp@example.com +PBSZ 0 +PROT C +PWD +CWD CWD +CWD STOR +CWD RETR +PORT 127,0,0,1,5,109 +TYPE I +STOR 408 +QUIT + + +Moooooooooooo + upload this + + + diff --git a/tests/data/test409 b/tests/data/test409 new file mode 100644 index 000000000..d7801a841 --- /dev/null +++ b/tests/data/test409 @@ -0,0 +1,56 @@ + + + +FTPS +EPSV +STOR + + + +# Client-side + + +SSL + + +ftps + + +FTPS PASV upload file + + +data + to + see +that FTP +works + so does it? + + +-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/409 -T log/test409.txt + + + +# Verify data after the test has been "shot" + + +data + to + see +that FTP +works + so does it? + + +USER anonymous +PASS ftp@example.com +PBSZ 0 +PROT C +PWD +EPSV +TYPE I +STOR 409 +QUIT + + + -- cgit v1.2.3