aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
AgeCommit message (Collapse)Author
2004-07-01variable type cleanup to fix picky compiler warningsDaniel Stenberg
2004-06-30I think 1024 bytes is enough for even most ipv6 addresses :-)Daniel Stenberg
2004-06-24Replaced all uses of sprintf() with the safer snprintf(). It is just aDaniel Stenberg
precaution to prevent mistakes to lead to buffer overflows.
2004-06-24Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
2004-06-09Alexander Krasnostavsky's fix to make libcurl build fine with configureDaniel Stenberg
--disable-http, which thus builds a libcurl without HTTP support.
2004-06-03Alexander Krasnostavsky's FTP third party transfer (proxy) supportDaniel Stenberg
2004-06-02Gisle made ftp_mkd staticDaniel Stenberg
2004-05-26Added a new 'bit' in the connect struct named 'tunnel_proxy' that is setDaniel Stenberg
if a connection is tunneled through a proxy. A tunnel is done with CONNECT, either when using HTTPS or FTPS, or if explicitly enabled by the app.
2004-05-12Curl_done() and the protocol-specific conn->curl_done() functions now allDaniel Stenberg
take a CURLcode as a second argument, that is non-zero when Curl_done() is called after an error was returned from Curl_do() (or similar).
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-04-27Made host name and proxy name get stored in a 'struct hostname' and setDaniel Stenberg
all things up to work with encoded host names internally, as well as keeping 'display names' to show in debug messages. IDN resolves work for me now using ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right.
2004-04-26Made defines instead of plain numbers for the Curl_resolv() return code toDaniel Stenberg
make the code easier to read
2004-04-22If only a partial file was transfered, we consider that a fatal problem soDaniel Stenberg
we won't try to QUIT the control connection and risk "hanging" waiting for a response. Test case 161 verifies this. The quit-sending function was also made static.
2004-04-21increase the headerbytecount for incoming "headers"Daniel Stenberg
2004-04-20Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-Daniel Stenberg
length limit of the hostname part of the URL.
2004-04-15ftp->dirs[] is no longer terminated with a zero entry but ftp->dirdepthDaniel Stenberg
should be used
2004-04-15removed the fixed dir depth limit in the FTP codeDaniel Stenberg
2004-04-07renamed the strtoofft() macro to curlx_strtoofft() to adjust to the curlx_*Daniel Stenberg
concept, and added lib/README.curlx to explain details about it
2004-04-06New authentication code added, particularly noticable when doing POST or PUTDaniel Stenberg
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication and when done perform the requested POST.
2004-03-31Use the new HAVE_NI_WITHSCOPEID define instead of merely checking for theDaniel Stenberg
existance of NI_WITHSCOPEID since some platforms have that define but still can't function with it set.
2004-03-31Moved the NI_WITHSCOPEID magic #ifdef to the top of the file and made sureDaniel Stenberg
we use the NIFLAGS properly on both places in the code that use getnameinfo().
2004-03-25include the strerror.h file without curl_ prefixDaniel Stenberg
2004-03-24Gisle Vanem's fix to replace the bad use of strerror(). This introducesDaniel Stenberg
Curl_strerror() that attempts to be thread-safe _and_ works on Windows too!
2004-03-17Günter Knauf's NetWare changes.Daniel Stenberg
2004-03-11Gisle Vanem's fixes to use CURL_SOCKET_BAD more instead of -1 for sockets.Daniel Stenberg
2004-03-10Use more curl_off_t variables when doing the progress meter calculations andDaniel Stenberg
argument passing and try to convert to double only when providing data to the external world.
2004-03-10turn niflags into a define named NIFLAGSDaniel Stenberg
2004-03-09Use curl_socket_t instead of int for holding sockets. The typedefs andDaniel Stenberg
defines are in setup.h.
2004-03-05clearly tell that these are ftp response timeoutsDaniel Stenberg
2004-03-03more variable type cleanupsDaniel Stenberg
2004-03-03our timeout values are longs while 'tv_sec' is intDaniel Stenberg
2004-03-02Yet another curl_off_t printf format attempt, we now exclude the %-letter fromDaniel Stenberg
FORMAT_OFF_T to allow additional options to get specified, like with '"%5" FORMAT_OFF_T'.
2004-03-02use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity ofDaniel Stenberg
having to redef that name
2004-03-01Use CURL_FORMAT_OFF_T for printf()inf curl_off_t variables.Daniel Stenberg
2004-03-01Only attempt to send the FTP QUIT command if we actually have a FTP struct.Daniel Stenberg
2004-02-27Joe Halpin made the FTP code send 'QUIT' on the control connection beforeDaniel Stenberg
it disconnects the TCP connection, like a good ftp client should!
2004-02-26Clear up int/long/size_t/ssize_t usage a bitDaniel Stenberg
2004-02-13Tor Arntsen's fix for the bad (64bit wise) typecast when using gmtime()Daniel Stenberg
2004-02-09Tor Arntsen's patch for working around a notorious bug in the AIX5Daniel Stenberg
getaddrinfo() implementation.
2004-02-05use the timeout options when waiting for the server to connect when usingDaniel Stenberg
PORT Provide better error messages to allow debugging if one if the ipv6-related name functions fail in the ftp_use_port() function. This might help us diagnose the problems on AIX. Also make sure getaddrinfo() uses NULL and not "0" for the service argument.
2004-02-03the unused quit-function didn't pass a correct variable type to theDaniel Stenberg
response reading function
2004-01-29Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg
warnings. Minor edits by me.
2004-01-22use curl_off_t instead of off_t!Daniel Stenberg
2004-01-21use the proper timecond defines, not the obsolete ones I've removed! ;-)Daniel Stenberg
The initial QUIT-sending code is added, but not yet used due to the issues previously mentioned on the mailing list.
2004-01-07updated year in the copyright stringDaniel Stenberg
2004-01-05David J Meyer's large file support.Daniel Stenberg
2003-12-08better human error message when a FTP response can't be readDaniel Stenberg
2003-12-03my contentlength adjustment broke the ftp download range stuff, this makesDaniel Stenberg
it work again
2003-12-02fix compiler warningsDaniel Stenberg
2003-12-02use the HAVE_KRB4 define instead of just KRB4Daniel Stenberg