aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
AgeCommit message (Collapse)Author
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
2003-12-02fixes from Gisle Vanem to try 'AUTH SSL' before 'AUTH TLS', edited by meDaniel Stenberg
2003-12-01FTPS now works with active ftp and uploads too.Daniel Stenberg
2003-11-24adjusted code to the new socket fields in the sessionhandle structDaniel Stenberg
2003-11-24FTPS support added as RFC2228 and the murray-ftp-auth-ssl draft describe itDaniel Stenberg
2003-11-19If a partial file has been read or written, force a closure the existingDaniel Stenberg
connection to avoid re-use of it, since we cannot know in what state it is.
2003-11-10After Sébastien Willemijns' bug report, we now check the separators properlyDaniel Stenberg
in the 229-reply servers respond on a EPSV command and bail out better if the reply string is not valid RFC2428-compliant.
2003-10-31assume that MDTM returns the timestamp as UTCDaniel Stenberg
2003-10-30when getting headers only, stop pretending the reported time is GMT, as itDaniel Stenberg
isn't. In fact, it might be, but we have no idea.
2003-10-24if malloc fails, we must bail out nicelyDaniel Stenberg
2003-10-18gcc -Wshadow complaints fixedDaniel Stenberg
2003-10-17Dominick Meglio implemented CURLOPT_MAXFILESIZE and --max-filesize.Daniel Stenberg
2003-10-17made the code deal with empty name and passwordDaniel Stenberg
2003-10-14Gisle Vanem's IPv6-on-Windows patch applied!Daniel Stenberg
2003-10-04Jon Turner mentioned this bug fix to correct how libcurl deals with pathsDaniel Stenberg
after a failed transfer.
2003-09-11don't use a blank proxyDaniel Stenberg
2003-09-03Early Ehlinger's CURLOPT_FTP_RESPONSE_TIMEOUT patch applied.Daniel Stenberg
2003-09-03minor fix to make better bail-out checkDaniel Stenberg
2003-08-22have cwd_and_mkd prefixed with ftp_ to make it appear as a ftp-onlyDaniel Stenberg
function
2003-08-20store the FTP response code in the httpcode variableDaniel Stenberg
2003-08-10don't claim the PASV connect is connected unless it *really* is!Daniel Stenberg
2003-08-08re-arranged the cwd/mkd stuff a bitDaniel Stenberg
2003-08-08Early Ehlinger's CURLOPT_FTP_CREATE_MISSING_DIRS patch was appliedDaniel Stenberg
2003-08-05ares awareness/usage/support added. If configure --enable-ares is used, weDaniel Stenberg
build libcurl to use ares for asynch name resolves.
2003-08-05clean up the dir tree hierarchy in *_done() to make persistant connectionDaniel Stenberg
FTP use the correct directories! Reported in bug report #783116
2003-07-30Daniel Noguerol made the ftp code output "Accept-Ranges: bytes" in similarDaniel Stenberg
style like other faked HTTP headers when NOBODY and HEADER are used.
2003-07-30Reverted the 'filetime' struct field back to a 'long' as time_t is sometimesDaniel Stenberg
unsigned and we want this to be able to hold -1 for illegal/unset values.
2003-07-28François Pons brought a patch that once again made curl deal with ftp andDaniel Stenberg
"double slash" as indicating the root directory. In the RFC1738-fix of April 30, that ability was removed (since it is not the "right" way).
2003-07-21krb4-fixes for the moved user+password fields within the structsDaniel Stenberg
2003-07-20David Gardner pointed out in bug report 770755 that using the FTP command CWDDaniel Stenberg
with a blank argument is a bad idea. Now skip blanks.
2003-07-19Access the user and passwd fields from the connectdata struct now insteadDaniel Stenberg
of the sessionhandle struct, as that was not good.
2003-06-26one typecast less for the localtime(), use CURLDEBUG instead of MALLOCDEBUGDaniel Stenberg
2003-05-23Ricardo Cadime found a socket leak when listing directories withoutDaniel Stenberg
contents. Test cases 144 and 145 were added to verify the fix. Now we deal with return code 450 properly and other codes also do proper cleanup.
2003-05-14George Comninos provided a fix that calls the progress meter when waitingDaniel Stenberg
for FTP command responses take >1 second.
2003-05-13before using if2ip(), check if the address is an ip address and skip it ifDaniel Stenberg
it is.
2003-05-12when we have accepted the server's connection in a PORT sequence, we setDaniel Stenberg
the new socket to non-blocking
2003-05-09support for CURLOPT_FTP_USE_EPRT addedDaniel Stenberg
2003-04-30when making up the list of path parts, save the last entry pointing to NULLDaniel Stenberg
as otherwise we'll go nuts
2003-04-30David Balazic's patch to make the FTP operations "do right" according toDaniel Stenberg
RFC1738, which means it'll use one CWD for each pathpart.
2003-04-11 According to RFC959, CWD is supposed to return 250 on success, butDaniel Stenberg
there seem to be non-compliant FTP servers out there that return 200, so we accept any '2xy' response now.
2003-04-09timecond support addedDaniel Stenberg
made the Last-Modified (faked) header look correct using GMT always
2003-04-03kill a compiler warning on cygwinDaniel Stenberg
2003-03-11Use ssize_t instead of 'int' to make the 64 bit sparc compiler happier.Daniel Stenberg
Fix by Richard Gorton.
2003-02-27It appears that there are FTP-servers that return size 0 for filesDaniel Stenberg
when SIZE is used on the file while being in BINARY mode. To work around that (stupid) behavior, we attempt to parse the RETR response even if the SIZE returned size zero. Debugging help from Salvatore Sorrentino on February 26, 2003.