diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-06-02 13:51:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-02 13:51:36 +0000 |
commit | 3d38080d5458a4efe746d3920310e05c53a64842 (patch) | |
tree | 805dd6ad749beb05c366df8812fc26d83e6e1195 | |
parent | fe07962f9c60fbb711ffd1cdafee8b6c326ddfda (diff) |
*seven* new options to support 3rd party FTP transfers
-rw-r--r-- | include/curl/curl.h | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index bf6a8f6c5..ee10ce4a4 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -518,7 +518,7 @@ typedef enum { CINIT(FOLLOWLOCATION, LONG, 52), /* use Location: Luke! */ CINIT(TRANSFERTEXT, LONG, 53), /* transfer data in text/ASCII format */ - CINIT(PUT, LONG, 54), /* PUT the input file */ + CINIT(PUT, LONG, 54), /* HTTP PUT */ /* 55 = OBSOLETE */ @@ -780,6 +780,34 @@ typedef enum { /* Enable/disable the TCP Nagle algorithm */ CINIT(TCP_NODELAY, LONG, 121), + /* When doing 3rd party transfer, set the source host name with this */ + CINIT(SOURCE_HOST, OBJECTPOINT, 122), + + /* When doing 3rd party transfer, set the source user and password with + this */ + CINIT(SOURCE_USERPWD, OBJECTPOINT, 123), + + /* When doing 3rd party transfer, set the source file path with this */ + CINIT(SOURCE_PATH, OBJECTPOINT, 124), + + /* When doing 3rd party transfer, set the source server's port number + with this */ + CINIT(SOURCE_PORT, LONG, 125), + + /* When doing 3rd party transfer, decide which server that should get the + PASV command (and the other gets the PORT). + 0 (default) - The target host issues PASV. + 1 - The source host issues PASV */ + CINIT(PASV_HOST, LONG, 126), + + /* When doing 3rd party transfer, set the source pre-quote linked list + of commands with this */ + CINIT(SOURCE_PREQUOTE, OBJECTPOINT, 127), + + /* When doing 3rd party transfer, set the source post-quote linked list + of commands with this */ + CINIT(SOURCE_POSTQUOTE, OBJECTPOINT, 128), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; |