aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
AgeCommit message (Collapse)Author
2002-01-02Philip Gladstone's 64-bit sparc native compiler compatibility issues fixed.Daniel Stenberg
2001-12-20If nobody is set we won't download any FTP file. If include_header is set,Daniel Stenberg
we return a set of headers not more. This enables FTP operations that don't transfer any data, only perform FTP commands.
2001-12-11failf() calls should not have newlines in the message string!Daniel Stenberg
2001-12-03As Eric Lavigne pointed out, the ftp response reader MUST cache data thatDaniel Stenberg
is not dealt with when we find an end-of-response line, as there might be important stuff even after the correct line. So on subsequent invokes, the cached data must be used!
2001-11-28CURLOPT_FTP_USE_EPSV can now be set to FALSE to prevent libcurl fromDaniel Stenberg
attempting to use EPSV before the standard PASV.
2001-11-28Added EPSV which is now unconditionally always tried before PASV, whichDaniel Stenberg
makes it work reaaaaly nicely on IPv6-enabled hosts! Added SIZE before RETR is made, always done on downloads. It makes us know the size prior to download much more frequently. Unfortunately, this breaks all the FTP test cases. *fixfixfix*
2001-11-28use in_addr_t for inet_addr() return code. Now, now portable is this *REALLY*?Daniel Stenberg
We should add some configure tests for this!
2001-11-27commented out the EPSV supportDaniel Stenberg
2001-11-27initial code added to support EPSV (IPv6-style PASV)Daniel Stenberg
2001-11-22Eric fixed a wild writeDaniel Stenberg
2001-11-15looks better on one line (testing the cvs diffing via mail, but I also thinkSterling Hughes
this looks a bit better ;)
2001-11-13corrected the ftp_getsize() usage, as the HPUX compiler warned on themDaniel Stenberg
2001-11-13uninitialized variableDaniel Stenberg
2001-11-12make sure to "read out" the server reply even if we didn't get any data fromDaniel Stenberg
the server when that's the only error
2001-11-01added comments and function headersDaniel Stenberg
2001-11-01Use Curl_tvdiff to compare timesDaniel Stenberg
2001-10-31fixed FTPSENDF for ipv6 compilesDaniel Stenberg
2001-10-31major commit, now we check the return code on every invoke of Curl_ftpsendfDaniel Stenberg
- which now is made using a macro named FTPSENDF. I turned it all caps just to make it more visible that it is in fact a macro.
2001-10-11looks nicer and is better compatible with older vim versionsSterling Hughes
2001-10-04getaddrinfo() cleanupsDaniel Stenberg
2001-10-02major connecting updatesDaniel Stenberg
2001-10-01sessionhandle->hp => hostaddrDaniel Stenberg
2001-10-01removed obsoletetd myalarm() callsDaniel Stenberg
2001-09-28removed the socket argument from some functions that always passed in theDaniel Stenberg
same socket and it was available from the passed-in struct anyway!
2001-09-28now compiles warning-free when IPv6-enabledDaniel Stenberg
2001-09-28moved the PORT and PASV code into separate smaller functions for readabilityDaniel Stenberg
renamed all static ^_ftp_* functions to ^ftp_, prefixing with underscore is not nice
2001-09-28more ipv6 cleanups to make smaller functions that are easier to readDaniel Stenberg
2001-09-28more transparant support for IPv6 name resolvingDaniel Stenberg
2001-09-23test 119 proved a memory leak in the FTP parts when IPv6 is enabled and theDaniel Stenberg
RETR fails, this corrects it.
2001-09-14modified error message when PWD failsDaniel Stenberg
2001-09-13minor informatinal output changesDaniel Stenberg
2001-09-07fix for emacsSterling Hughes
2001-09-05Fix formatting when tabs and spaces got mixed up (if tabstop was not set toSterling Hughes
8 this looked quite funny :) Added a small formatting section for vim at the bottom, it also contains an emacs portion (copied it from another project I'm working on), I don't know if this is correct, but its a step (the vim part is correct :)
2001-08-30a few more struct fixesDaniel Stenberg
2001-08-30Major rename and redesign of the internal "backbone" structs. Details willDaniel Stenberg
be posted in a minute to the libcurl list.
2001-08-23I want Sterling to be my friend, so I wasted some time on splitting up theDaniel Stenberg
huge monster function _ftp() into more little functions. There are still more that can be done, but this is at least improving readability and maintainability... :-)
2001-08-18<couldn't resist>Sterling Hughes
Use a more appropriate variable name </couldn't resist>
2001-08-17modified to use the renamed kerberos functions with Curl_ prefixDaniel Stenberg
2001-08-15const fixesDaniel Stenberg
2001-08-15removed one compiler error and two "unused variable" warningsDaniel Stenberg
2001-08-15more _ftp_cwdSterling Hughes
2001-08-15ftp_cwd() abstractionSterling Hughes
"%" -> "%s"
2001-08-15This can be used in another place (Curl_ftp_done :)...Sterling Hughes
declare at the top of the file, put the private functions at the bottom of the file, however, this is clearer imho (since _ftp is already there).
2001-08-15must merge before commitSterling Hughes
must merge before commit must merge before commit
2001-08-15begin abstraction process...Sterling Hughes
2001-08-14exchanged the second and third argument to fwrite(), as that makes it lookDaniel Stenberg
good on VMS. Removed a '#if 0' section, made Curl_getmyhost static and cut off the 'Curl_' prefix
2001-08-14corrected the size_t weirdness. Expect size_t to be unsigned. Moved mostDaniel Stenberg
over to ssize_t that is signed. Removed all the special-purpose VMS #ifdefs that were added for this.
2001-08-06Nico's fixes for VMS, most of these are fixes for bad uses of size_t thatDaniel Stenberg
forgets that it is very often unsigned. These should be fixed globally and then many #ifdef VMS lines can be removed.
2001-06-19better treatment of truly aborted transfersDaniel Stenberg
2001-05-14Jun-ichiro itojun Hagino fixed FTP PORT for IPv6-enabled libcurlDaniel Stenberg