aboutsummaryrefslogtreecommitdiff
path: root/lib/file.c
AgeCommit message (Collapse)Author
2004-08-17Kjetil Jacobsen reported an open file leak in file:// transfers of emptyDaniel Stenberg
files.
2004-07-06Andres Garcia pointed out that we searched for a slash badly since it isDaniel Stenberg
converted and thus we must search for backslash on windows
2004-06-24fix warningDaniel 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-21The read callback can now return CURL_READFUNC_ABORT to stop a transfer.Daniel Stenberg
2004-06-10Steven Bazyl and Seshubabu Pasam pointed out a bug on win32 when freeing theDaniel Stenberg
path after a transfer.
2004-05-25initial support for "uploading" to file:// URLsDaniel Stenberg
2004-05-13better bailing out in case of no memoryDaniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-04-26added commentsDaniel Stenberg
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-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-05another include to prevent warningsDaniel Stenberg
2004-03-05more fixing to make the progress/getinfo stuff to work properly when doingDaniel Stenberg
file: transfers too
2004-03-04include the proper header file tooDaniel Stenberg
2004-03-04fix progress data to be updated properly for file: transfers, as reportedDaniel Stenberg
by Jesse Noller
2004-03-03rename struct FILE to FILEPROTO, to prevent it from causing trouble withDaniel Stenberg
the plain old FILE typedef.
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-02-13the now and start variables were never really usedDaniel Stenberg
2004-02-13I made the same fix here, that Tor already did in the ftp.c code. To makeDaniel Stenberg
sure this doesn't get weird on 64bit archs.
2004-01-29Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg
warnings. Minor edits by me.
2004-01-22attempt to fix 64bit seeking for Windows, does it work?Daniel Stenberg
2004-01-22use curl_off_t instead of off_t!Daniel Stenberg
2004-01-07updated year in the copyright stringDaniel Stenberg
2004-01-05David J Meyer's large file support.Daniel Stenberg
2003-10-30silly me, I was meaning to do this change already as discussed on the libcurlDaniel Stenberg
list, we get the time in GMT and not localtime
2003-10-30curl --head now reports info "headers" on file:// URLs as wellDaniel Stenberg
2003-10-14Gisle Vanem's IPv6-on-Windows patch applied!Daniel Stenberg
2003-08-08make sure the string is long enoughDaniel Stenberg
2003-08-08David Byron's fix for file:// URLs with drive letters included.Daniel Stenberg
2003-07-25Removed #include <sys/resource.h>, as pointed out by Henry Bland we don'tDaniel Stenberg
need it.
2003-06-26use CURLDEBUG instead of MALLOCDEBUGDaniel Stenberg
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-09-23Dolbneff A.V and Spiridonoff A.V made the file:// code work with resumesDaniel Stenberg
in the same style other code does.
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-06-11added disable-[protocol] support, largely provided by Miklos NemethDaniel Stenberg
2002-04-22use double where it is supposed toDaniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2001-10-11looks nicer and is better compatible with older vim versionsSterling Hughes
2001-09-07Added formatting sections for emacs and vimSterling Hughes
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-14size_t => ssize_t, removed the special VMS fix for that purposeDaniel Stenberg
2001-08-06VMS #ifdefs added. several related to size_t problems that we must addressDaniel Stenberg
globally anyway... check these as soon as the size_t fixes are in place
2001-04-18Remade resume stuff to keep data in the connectdata struct instead of theDaniel Stenberg
main handle struct to work with persistant connections
2001-03-14Jörn fixed it to compile on win32 againDaniel Stenberg
2001-03-05remade FILE:// support to look more as the other protocolsDaniel Stenberg
2001-01-05Internal symbols that aren't static are now prefixed with 'Curl_'Daniel Stenberg