From 7e845e7cfdd658caccc60f687d5d5d68d7e88937 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 4 Sep 2005 05:16:06 +0000 Subject: Added FTP_SKIP_PASV_IP and --ftp-skip-pasv-ip --- include/curl/curl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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; -- cgit v1.2.3