summaryrefslogtreecommitdiff
path: root/tests/FILEFORMAT
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-09-23 20:39:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-09-23 20:39:34 +0000
commit0992e391ba9e275bc83070e205de6cd4af2af68a (patch)
treebdf103812710eee62a239e2d6567eb03eea2f303 /tests/FILEFORMAT
parentb22aaeef6a5ae6fed6944c332deb32f169131b8a (diff)
downloadcurl-0992e391ba9e275bc83070e205de6cd4af2af68a.tar.gz
filled in some docs for the FTP server control commands
Diffstat (limited to 'tests/FILEFORMAT')
-rw-r--r--tests/FILEFORMAT16
1 files changed, 13 insertions, 3 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT
index b4033794f..594addb13 100644
--- a/tests/FILEFORMAT
+++ b/tests/FILEFORMAT
@@ -74,14 +74,24 @@ reply is sent
<servercmd>
Special-commands for the server.
For FTP, these are supported:
-REPLY
-COUNT
-DELAY
+REPLY [command] [return value] [response string]
+ - Changes how the server responds to the [command]
+COUNT [command] [num]
+ - Do the REPLY change for [command] only [num] times and then go back to the
+ built-in approach
+DELAY [command] [secs]
+ - Delay responding to this command for the given time
RETRWEIRDO
+ - Enable the "weirdo" RETR case when multiple response lines appear at once
+ when a file is transfered
RETRNOSIZE
+ - Make sure the RETR response doesn't contain the size of the file
NOSAVE
+ - Don't actually save what is received
SLOWDOWN
+ - Send FTP responses with 0.1 sec delay between each byte
PASVBADIP - makes PASV send back an illegal IP in its 227 response
+ - Send back a bad IP in the PASV response
For HTTP:
auth_required - if this is set and a POST/PUT is made without auth, the