diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-01-25 22:13:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-01-25 22:13:12 +0000 |
commit | 177dbc7be07125582ddb7416dba7140b88ab9f62 (patch) | |
tree | 427fa08bfdea3642ac8ecd19776b43b888b2bc24 /include | |
parent | f2e71edcbd479345678bb03e76fad17157fc318e (diff) | |
download | curl-177dbc7be07125582ddb7416dba7140b88ab9f62.tar.gz |
Ian Ford asked about support for the FTP command ACCT, and I discovered it is
present in RFC959... so now (lib)curl supports it as well. --ftp-account and
CURLOPT_FTP_ACCOUNT set the account string. (The server may ask for an account
string after PASS have been sent away. The client responds with "ACCT [account
string]".) Added test case 228 and 229 to verify the functionality. Updated
the test FTP server to support ACCT somewhat.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 07c028b3b..019ef08a0 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -882,6 +882,10 @@ typedef enum { commands with this */ CINIT(SOURCE_QUOTE, OBJECTPOINT, 133), + /* zero terminated string for pass on to the FTP server when asked for + "account" info */ + CINIT(FTP_ACCOUNT, OBJECTPOINT, 134), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; |