diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-09-04 05:16:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-09-04 05:16:06 +0000 |
commit | 7e845e7cfdd658caccc60f687d5d5d68d7e88937 (patch) | |
tree | f5937f8827f2f1f9ea2073dd640545045a17c459 /include | |
parent | 56d9624b566ac15ffb4b4b6eef220a5000b767e0 (diff) |
Added FTP_SKIP_PASV_IP and --ftp-skip-pasv-ip
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index daacf781a..48c896119 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -903,6 +903,12 @@ typedef enum { /* ignore Content-Length */ CINIT(IGNORE_CONTENT_LENGTH, LONG, 136), + /* Set to non-zero to skip the IP address received in a 227 PASV FTP server + response. Typically used for FTP-SSL purposes but is not restricted to + that. libcurl will then instead use the same IP address it used for the + control connection. */ + CINIT(FTP_SKIP_PASV_IP, LONG, 137), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; |