aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test247
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-05 21:07:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-05 21:07:27 +0000
commit6a6c0e7a734ea4bc0ad45e18c24ebc5732dc9009 (patch)
tree417460d104cdeb23c32a38a6c2c6c8519415bdc1 /tests/data/test247
parentee44eec3e1b60793888aacce966880e73f69eca6 (diff)
downloadgnurl-6a6c0e7a734ea4bc0ad45e18c24ebc5732dc9009.tar.gz
gnurl-6a6c0e7a734ea4bc0ad45e18c24ebc5732dc9009.tar.bz2
gnurl-6a6c0e7a734ea4bc0ad45e18c24ebc5732dc9009.zip
test time-conditioned FTP uploads
Diffstat (limited to 'tests/data/test247')
-rw-r--r--tests/data/test24739
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/data/test247 b/tests/data/test247
new file mode 100644
index 000000000..0985b8682
--- /dev/null
+++ b/tests/data/test247
@@ -0,0 +1,39 @@
+<reply>
+<mdtm>
+213 20030409102659
+</mdtm>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP upload time condition evaluates TRUE => skip upload
+ </name>
+<file name="log/test247.txt">
+data
+ to
+ see
+that FTP
+works
+ so does it?
+</file>
+ <command>
+ftp://%HOSTIP:%FTPPORT/247 -T log/test247.txt -z "apr 1 2005 08:00:00"
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<upload>
+</upload>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+MDTM 247
+QUIT
+</protocol>
+</verify>