aboutsummaryrefslogtreecommitdiff
path: root/lib/file.c
AgeCommit message (Collapse)Author
2006-08-29Watcom lacks <sys/time.h>.Gisle Vanem
2006-08-19Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPEDaniel Stenberg
command on subsequent requests on a re-used connection unless it has to.
2006-05-04Roland Blom filed bug report #1481217Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini and David Byron. libcurl previously wrongly used GetLastError() on windows to get error details after socket-related function calls, when it really should use WSAGetLastError() instead. When changing to this, the former function Curl_ourerrno() is now instead called Curl_sockerrno() as it is necessary to only use it to get errno from socket-related functions as otherwise it won't work as intended on Windows.
2006-04-07First commit of David McCreedy's EBCDIC and TPF changes.Daniel Stenberg
2005-12-30fix questionable compare compiler error (unsigned can't be < 0)Marty Kuhrt
2005-12-30putting back into distMarty Kuhrt
2005-12-01Jamie Newton pointed out that libcurl's file:// code would close() a zeroDaniel Stenberg
file descriptor if given a non-existing file.
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