aboutsummaryrefslogtreecommitdiff
path: root/lib/file.c
AgeCommit message (Collapse)Author
2005-02-11Removed all uses of strftime() since it uses the localised version of theDaniel Stenberg
week day names and month names and servers don't like that.
2005-02-09FTP code turned into state machine. Not completely yet, but a good start.Daniel Stenberg
The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
2004-12-16moved the lseek() and stat() magic defines to setup.h and now take advantageDaniel Stenberg
of struct_stat in formdata.c as well, to support formpost uploads of large files on Windows too
2004-12-13Gisle's fix for resuming large file:// files on windows - slightly editedDaniel Stenberg
by me.
2004-12-11provide an error string when resuming fails - and use the proper error code,Daniel Stenberg
not the former one
2004-11-09Handle drive-letter on MS-DOS.Gisle Vanem
2004-11-02Paul Nolan fix to make libcurl build nicely on Windows CEDaniel Stenberg
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
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