History log of /curl/lib/file.c (Results 151 – 175 of 237)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4cd7f854 27-Jun-2007 James Housley

Add two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMS
and CURLOPT_NEW_DIRECTORY_PERMS. These control the premissions for files
and directories created on the remote ser

Add two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMS
and CURLOPT_NEW_DIRECTORY_PERMS. These control the premissions for files
and directories created on the remote server. CURLOPT_NEW_FILE_PERMS
defaults to 0644 and CURLOPT_NEW_DIRECTORY_PERMS defaults to 0755

show more ...


Revision tags: curl-7_16_3
# 38b490a3 07-Jun-2007 Dan Fandrich

Fixed a compiler warning on uClibc.


# 713c9f86 31-May-2007 Daniel Stenberg

Feng Tu made (lib)curl support "upload" resuming work for file:// URLs.


Revision tags: curl-7_16_2
# c514a2a8 26-Feb-2007 Gisle Vanem

Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files
since they're already included through "setup.h".


Revision tags: curl-7_16_1
# 385e612f 16-Jan-2007 Daniel Stenberg

- Armel Asselin improved libcurl to behave a lot better when an easy handle
doing an FTP transfer is removed from a multi handle before completion. The
fix also fixed the "alive counter"

- Armel Asselin improved libcurl to behave a lot better when an easy handle
doing an FTP transfer is removed from a multi handle before completion. The
fix also fixed the "alive counter" to be correct on "premature removal" for
all protocols.

show more ...


Revision tags: curl-7_16_0
# a8996b9e 18-Oct-2006 Daniel Stenberg

use the return code from lseek() to detect problems and bail out if so


# e150150d 11-Oct-2006 Yang Tse

Remove redundant __CYGWIN__ symbol check


# b7eeb6e6 07-Sep-2006 Daniel Stenberg

Major overhaul introducing http pipelining support and shared connection
cache within the multi handle.


Revision tags: curl-7_15_6-prepipeline
# 4f4277d9 03-Sep-2006 Gisle Vanem

Simplified #ifdef on WIN32; the statement
" !defined(__GNUC__) || defined(__MINGW32__)" implies
CygWin.


# c7aae103 30-Aug-2006 Gisle Vanem

Removed "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead.


# 59cf6fd4 29-Aug-2006 Gisle Vanem

Watcom lacks <sys/time.h>.


# cfdcae4b 19-Aug-2006 Daniel Stenberg

Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPE
command on subsequent requests on a re-used connection unless it has to.


Revision tags: curl-7_15_5, curl-7_15_4
# e85e3054 04-May-2006 Daniel Stenberg

Roland Blom filed bug report #1481217
(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

Roland Blom filed bug report #1481217
(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.

show more ...


# 5a4b4384 07-Apr-2006 Daniel Stenberg

First commit of David McCreedy's EBCDIC and TPF changes.


Revision tags: curl-7_15_3, curl-7_15_2
# cc343427 30-Dec-2005 Marty Kuhrt

fix questionable compare compiler error (unsigned can't be < 0)


# b11dec5d 30-Dec-2005 Marty Kuhrt

putting back into dist


Revision tags: curl-7_15_1
# 65133034 01-Dec-2005 Daniel Stenberg

Jamie Newton pointed out that libcurl's file:// code would close() a zero
file descriptor if given a non-existing file.


Revision tags: curl-7_15_0, curl-7_14_1, c-ares-1_3_0, curl-7_14_0, curl-7_13_2, curl-7_13_1
# e7cefd68 11-Feb-2005 Daniel Stenberg

Removed all uses of strftime() since it uses the localised version of the
week day names and month names and servers don't like that.


# 6a2e21ec 09-Feb-2005 Daniel Stenberg

FTP code turned into state machine. Not completely yet, but a good start.
The tag 'before_ftp_statemachine' was set just before this commit in case
of future need.


Revision tags: before_ftp_statemachine, curl-7_13_0, curl-7_12_3
# 4f5a6a33 16-Dec-2004 Daniel Stenberg

moved the lseek() and stat() magic defines to setup.h and now take advantage
of struct_stat in formdata.c as well, to support formpost uploads of large
files on Windows too


# 344c6a37 13-Dec-2004 Daniel Stenberg

Gisle's fix for resuming large file:// files on windows - slightly edited
by me.


# 1b8ac7c6 11-Dec-2004 Daniel Stenberg

provide an error string when resuming fails - and use the proper error code,
not the former one


# 865e4951 09-Nov-2004 Gisle Vanem

Handle drive-letter on MS-DOS.


# 24d47a6e 02-Nov-2004 Daniel Stenberg

Paul Nolan fix to make libcurl build nicely on Windows CE


Revision tags: curl-7_12_2
# 39af394a 06-Oct-2004 Daniel Stenberg

removed tabs and trailing whitespace from source


12345678910