aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test401
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-03-29 22:50:23 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-03-29 22:50:23 +0000
commitc26320d94fbd5f5a28eb0427ad8f28733994a3ba (patch)
treeb31a69ee4bc0e74b622e1fa6a539954fbddea606 /tests/data/test401
parentf6e892b1b629400c81e930977e4771e8e301fd0d (diff)
Added ftps upload test 401
Diffstat (limited to 'tests/data/test401')
-rw-r--r--tests/data/test40156
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/data/test401 b/tests/data/test401
new file mode 100644
index 000000000..cb01c1c2c
--- /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>