From bbb1b99ce1fdc28bbd6a48d192f65733eed33ecc Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 10 Jul 2008 06:09:03 +0000 Subject: Added tests 1036 and 1037 to verify resumed ftp downloads with -C - --- tests/data/test1037 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 tests/data/test1037 (limited to 'tests/data/test1037') diff --git a/tests/data/test1037 b/tests/data/test1037 new file mode 100644 index 000000000..e4a705dfb --- /dev/null +++ b/tests/data/test1037 @@ -0,0 +1,54 @@ + + + +FTP +PASV +RETR +Resume + + + +# Server-side + + +expected to be a file without the first part +but we emulate that + + +65 + + +REPLY EPSV 500 no such command + + + +# Client-side + + +ftp + + +FTP download resume from end of empty file + + +ftp://%HOSTIP:%FTPPORT/1037 -C - + + + + + +# Verify data after the test has been "shot" + + +USER anonymous +PASS ftp@example.com +PWD +EPSV +PASV +TYPE I +SIZE 1037 +RETR 1037 +QUIT + + + -- cgit v1.2.3