mirror of
https://github.com/moparisthebest/curl
synced 2025-01-04 10:28:08 -05:00
filled in some docs for the FTP server control commands
This commit is contained in:
parent
b22aaeef6a
commit
0992e391ba
@ -74,14 +74,24 @@ reply is sent
|
|||||||
<servercmd>
|
<servercmd>
|
||||||
Special-commands for the server.
|
Special-commands for the server.
|
||||||
For FTP, these are supported:
|
For FTP, these are supported:
|
||||||
REPLY
|
REPLY [command] [return value] [response string]
|
||||||
COUNT
|
- Changes how the server responds to the [command]
|
||||||
DELAY
|
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
|
RETRWEIRDO
|
||||||
|
- Enable the "weirdo" RETR case when multiple response lines appear at once
|
||||||
|
when a file is transfered
|
||||||
RETRNOSIZE
|
RETRNOSIZE
|
||||||
|
- Make sure the RETR response doesn't contain the size of the file
|
||||||
NOSAVE
|
NOSAVE
|
||||||
|
- Don't actually save what is received
|
||||||
SLOWDOWN
|
SLOWDOWN
|
||||||
|
- Send FTP responses with 0.1 sec delay between each byte
|
||||||
PASVBADIP - makes PASV send back an illegal IP in its 227 response
|
PASVBADIP - makes PASV send back an illegal IP in its 227 response
|
||||||
|
- Send back a bad IP in the PASV response
|
||||||
|
|
||||||
For HTTP:
|
For HTTP:
|
||||||
auth_required - if this is set and a POST/PUT is made without auth, the
|
auth_required - if this is set and a POST/PUT is made without auth, the
|
||||||
|
Loading…
Reference in New Issue
Block a user