summaryrefslogtreecommitdiff
path: root/tests/data/test409
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-05-10 20:03:20 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-05-10 20:03:20 +0000
commit85707460e58c27665fb8a647e2ebb85ae14525fa (patch)
tree5f4ea8ed075013671b4e4cf0ecd3d9ec1bba9d4e /tests/data/test409
parent41ba7666f0d67617462c717ef0a859c3347dd3b3 (diff)
downloadcurl-85707460e58c27665fb8a647e2ebb85ae14525fa.tar.gz
Added FTPS upload tests 408 and 409.
Diffstat (limited to 'tests/data/test409')
-rw-r--r--tests/data/test40956
1 files changed, 56 insertions, 0 deletions
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 @@
+<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/test409.txt">
+data
+ to
+ see
+that FTP
+works
+ so does it?
+</file>
+ <command>
+-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/409 -T log/test409.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 409
+QUIT
+</protocol>
+</verify>
+</testcase>