From c8ecbda40b35e3b057136d891d6dd0eb88c564f7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 10 Apr 2003 11:43:47 +0000 Subject: new ftp tests --- tests/data/test139 | 34 ++++++++++++++++++++++++++++++++++ tests/data/test140 | 29 +++++++++++++++++++++++++++++ tests/data/test141 | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+) create mode 100644 tests/data/test139 create mode 100644 tests/data/test140 create mode 100644 tests/data/test141 (limited to 'tests/data') diff --git a/tests/data/test139 b/tests/data/test139 new file mode 100644 index 000000000..dd87118f1 --- /dev/null +++ b/tests/data/test139 @@ -0,0 +1,34 @@ +# Server-side + + +this is file contents + + +213 20030409102659 + + + +# Client-side + + +FTP download a newer file with -z + + +ftp://%HOSTIP:%FTPPORT/blalbla/139 -z "1 jan 1989" + + + +# Verify data after the test has been "shot" + + +USER anonymous +PASS curl_by_daniel@haxx.se +PWD +CWD blalbla +MDTM 139 +EPSV +TYPE I +SIZE 139 +RETR 139 + + diff --git a/tests/data/test140 b/tests/data/test140 new file mode 100644 index 000000000..eecec6029 --- /dev/null +++ b/tests/data/test140 @@ -0,0 +1,29 @@ +# Server-side + + + + +213 20030409102659 + + + +# Client-side + + +FTP download file with -z, expected to not transfer + + +ftp://%HOSTIP:%FTPPORT/blalbla/140 -z "1 jan 2004" + + + +# Verify data after the test has been "shot" + + +USER anonymous +PASS curl_by_daniel@haxx.se +PWD +CWD blalbla +MDTM 140 + + diff --git a/tests/data/test141 b/tests/data/test141 new file mode 100644 index 000000000..649609586 --- /dev/null +++ b/tests/data/test141 @@ -0,0 +1,34 @@ +# Server-side + + + + +213 20030409102659 + + + +# Client-side + + +FTP download info with -I + + +ftp://%HOSTIP:%FTPPORT/blalbla/141 -I + + + +# Verify data after the test has been "shot" + + +USER anonymous +PASS curl_by_daniel@haxx.se +PWD +CWD blalbla +MDTM 141 +TYPE I +SIZE 141 + + +Last-Modified: Wed, 09 Apr 2003 10:26:59 GMT + + -- cgit v1.2.3