Daniel Stenberg
6d5b8b50e1
minor informatinal output changes
2001-09-13 12:52:58 +00:00
Sterling Hughes
e2e3c95d3b
fix for emacs
2001-09-07 03:30:30 +00:00
Sterling Hughes
08238f4320
Fix formatting when tabs and spaces got mixed up (if tabstop was not set to
...
8 this looked quite funny :)
Added a small formatting section for vim at the bottom, it also contains an
emacs portion (copied it from another project I'm working on), I don't know
if this is correct, but its a step (the vim part is correct :)
2001-09-05 02:49:04 +00:00
Daniel Stenberg
47e7a3e678
a few more struct fixes
2001-08-30 22:59:58 +00:00
Daniel Stenberg
0ece1b5c34
Major rename and redesign of the internal "backbone" structs. Details will
...
be posted in a minute to the libcurl list.
2001-08-30 22:48:34 +00:00
Daniel Stenberg
83a8786fe1
I want Sterling to be my friend, so I wasted some time on splitting up the
...
huge monster function _ftp() into more little functions. There are still
more that can be done, but this is at least improving readability and
maintainability... :-)
2001-08-23 06:10:01 +00:00
Sterling Hughes
1d3542a38f
<couldn't resist>
...
Use a more appropriate variable name
</couldn't resist>
2001-08-18 02:42:23 +00:00
Daniel Stenberg
1b00298b52
modified to use the renamed kerberos functions with Curl_ prefix
2001-08-17 10:14:06 +00:00
Daniel Stenberg
aa21e42d5b
const fixes
2001-08-15 18:42:17 +00:00
Daniel Stenberg
cec8a3afb2
removed one compiler error and two "unused variable" warnings
2001-08-15 12:26:34 +00:00
Sterling Hughes
7d17713d62
more _ftp_cwd
2001-08-15 07:21:21 +00:00
Sterling Hughes
546f4dca52
ftp_cwd() abstraction
...
"%" -> "%s"
2001-08-15 07:14:51 +00:00
Sterling Hughes
09a9b57bae
This can be used in another place (Curl_ftp_done :)...
...
declare at the top of the file, put the private functions at the bottom of
the file, however, this is clearer imho (since _ftp is already there).
2001-08-15 06:58:56 +00:00
Sterling Hughes
bff5f1b944
must merge before commit
...
must merge before commit
must merge before commit
2001-08-15 06:54:16 +00:00
Sterling Hughes
7994817185
begin abstraction process...
2001-08-15 06:52:42 +00:00
Daniel Stenberg
a9665b092b
exchanged the second and third argument to fwrite(), as that makes it look
...
good on VMS.
Removed a '#if 0' section, made Curl_getmyhost static and cut off the 'Curl_'
prefix
2001-08-14 09:26:32 +00:00
Daniel Stenberg
d95ed06aa9
corrected the size_t weirdness. Expect size_t to be unsigned. Moved most
...
over to ssize_t that is signed. Removed all the special-purpose VMS #ifdefs
that were added for this.
2001-08-14 08:24:37 +00:00
Daniel Stenberg
823fa6d273
Nico's fixes for VMS, most of these are fixes for bad uses of size_t that
...
forgets that it is very often unsigned. These should be fixed globally and
then many #ifdef VMS lines can be removed.
2001-08-06 12:47:39 +00:00
Daniel Stenberg
b1bbaebb17
better treatment of truly aborted transfers
2001-06-19 06:04:21 +00:00
Daniel Stenberg
e82d2dc634
Jun-ichiro itojun Hagino fixed FTP PORT for IPv6-enabled libcurl
2001-05-14 11:29:47 +00:00
Daniel Stenberg
c7dbde9f3f
Uses the Curl_SSLConnect() according to the new return type
2001-05-12 09:30:42 +00:00
Daniel Stenberg
11f2464a22
when asking for a resumed FTP transfer, even though the entire file has
...
already been transfered no longer returns error but instead is OK. The
reasoning behind this is of course that no extra actions need to be taken
and it is as if a transfer had been successfully performed.
2001-05-11 11:38:13 +00:00
Daniel Stenberg
5c25c7bbfa
when getting a FTP file with NOBODY, we will no longer return error if
...
SIZE doesn't work, we just don't output any size info!
2001-05-08 12:10:14 +00:00
Daniel Stenberg
ef07903a51
Curl_GetFTPResponse() is rewritten to read all incoming data in large
...
chunks, which makes it a lot faster and will make ftps work better...
2001-04-26 10:29:24 +00:00
Daniel Stenberg
3fd65fb7d8
Remade resume stuff to keep data in the connectdata struct instead of the
...
main handle struct to work with persistant connections
2001-04-18 07:25:11 +00:00
Daniel Stenberg
60aa975610
Frederic Lepied's ftp download resume fix
2001-04-17 13:21:13 +00:00
Daniel Stenberg
28497e7ee4
better error checks for failure conditions (based on Puneet Pawaia's reports)
2001-04-03 10:20:23 +00:00
Daniel Stenberg
b1328430c9
ftps:// support added
2001-03-29 08:16:55 +00:00
Daniel Stenberg
4eb2a165e8
removed a bunch of warnings for IPv6-compiles
2001-03-14 18:24:07 +00:00
Daniel Stenberg
7d7c24f915
accept() and getsockname() now use socklen_t types, as that was just added
...
to configure
2001-03-09 15:12:22 +00:00
Daniel Stenberg
c21f848c1c
enable persistant connections by default
2001-03-05 13:40:08 +00:00
Daniel Stenberg
d1cfbd51b5
remade the port number stuff so that following locations work and doing
...
intermixed HTTP and FTP persistant connections also work!
2001-03-02 15:34:15 +00:00
Daniel Stenberg
415d2e7cb7
removed the slist -functions from here
...
added the Curl_ftp_disconnect function for FTP-specific disconnects
2001-03-02 07:44:05 +00:00
Daniel Stenberg
584dbffe60
moved the dynamicly set pointers to the connectdata struct
2001-02-22 23:32:02 +00:00
Daniel Stenberg
da06a6e7e3
IPv6-adjustments
2001-02-21 17:15:09 +00:00
Daniel Stenberg
a1d6ad2610
multiple connection support initial commit
2001-02-20 17:35:51 +00:00
Daniel Stenberg
ce95d2020f
better english timeouted => timed out, as suggested by Larry Fahnoe
2001-02-13 21:57:04 +00:00
Daniel Stenberg
a140e5311d
moved the protocol-specific free to allow easier multiple transfers
2001-02-13 13:34:16 +00:00
Daniel Stenberg
8d169dfadd
Added a failf() call in the error-check just added
2001-02-09 07:14:28 +00:00
Daniel Stenberg
7e36c4437e
today's FTP response check fix
2001-02-08 13:52:38 +00:00
Daniel Stenberg
61e2a8108b
7.6.1-pre3
2001-02-07 09:49:06 +00:00
Daniel Stenberg
db70cd28b3
adjusted the IPv6 stuff to compile and build on Linux as well
2001-02-05 23:35:44 +00:00
Daniel Stenberg
f6e2bfd464
Jun-ichiro itojun Hagino's IPv6 adjustments
2001-02-05 23:04:44 +00:00
Daniel Stenberg
c41c5a0ef2
curl_read() and Curl_read() now have ssize_t in the last argument
2001-01-31 13:54:12 +00:00
Daniel Stenberg
11f3c51e8f
Get get-ftp-response function is now using Curl_read() for reading from a
...
socket. Curl_ConnectHTTPProxyTunnel changed prototype.
2001-01-25 12:17:07 +00:00
Daniel Stenberg
ae0a6835bd
Transfer is now Curl_Tranfer() and transfer.h is used instead of highlevel.h
...
and download.h
2001-01-17 13:23:01 +00:00
Daniel Stenberg
e8a5f3026f
Added mprintf #include
2001-01-08 16:22:55 +00:00
Daniel Stenberg
044ca343ad
Loic Dachary's makefile/dist/rpm fixes
2001-01-08 10:00:14 +00:00
Daniel Stenberg
4031104404
Internal symbols that aren't static are now prefixed with 'Curl_'
2001-01-05 10:11:41 +00:00
Daniel Stenberg
24dee483e9
dual-license fix
2001-01-03 09:29:33 +00:00
Daniel Stenberg
9ee94b3d84
fixed a leaked file descriptor when PORT failed
2000-12-19 09:06:36 +00:00
Daniel Stenberg
184ad46a27
fixed accept() for memory debugging
2000-12-18 16:13:37 +00:00
Daniel Stenberg
74d35416a2
changed the return code checker in the quote command send to only fail
...
on >= 400 errors
2000-12-16 10:36:08 +00:00
Daniel Stenberg
173f12db68
added a typecast to shut up a VC++ warning when converting from long
...
to unsigned short
2000-11-30 21:59:51 +00:00
Daniel Stenberg
db7d772d3e
removed #if 0 sections
2000-11-29 08:19:23 +00:00
Daniel Stenberg
b5739b3a97
document time fixes
2000-11-22 13:50:17 +00:00
Daniel Stenberg
2f6e61d5fb
GetLastResponse() modified to return ftp code as integer
...
initial modified-time support
2000-11-22 12:50:41 +00:00
Daniel Stenberg
29d21bea18
bad directory name extractor fixed, now always free the file and directory
...
very early, as that could leak memory before
2000-11-21 19:04:25 +00:00
Daniel Stenberg
52909688cf
when using PORT, we now free the host name buffer properly
2000-11-21 15:34:40 +00:00
Daniel Stenberg
59693250c4
includes http.h for the proxytunnel stuff
2000-11-21 09:30:07 +00:00
Daniel Stenberg
4035543763
set type before checking --head size, as the type may cause the server
...
to return different sizes
2000-11-10 13:42:45 +00:00
Daniel Stenberg
920579ba11
doing an ftp upload append that was already completed resulted in a
...
"hang", it now results in an error instead
2000-11-10 11:28:01 +00:00
Daniel Stenberg
0cff279063
new urldata ssl layout and T. Bharath brought the new SSL cert verify function
2000-10-30 11:53:40 +00:00
Daniel Stenberg
ccb2b5d22c
free the FTP struct already in the _done() function
2000-10-11 10:57:52 +00:00
Daniel Stenberg
0f8facb49b
added memory debugging include file
2000-10-09 11:12:34 +00:00
Daniel Stenberg
ad01481b28
krb4 transfers get a sec_fflush_fd() to get uploads to work
2000-09-25 22:15:28 +00:00
Daniel Stenberg
3471e2c59d
krb4 support added, new GetHost() usage
2000-09-21 08:47:20 +00:00
Daniel Stenberg
00eaf20298
bugfixed the proxytunnel
2000-09-15 12:55:38 +00:00
Daniel Stenberg
0da7057591
more "anything through http proxy tunnel" fixes
2000-09-15 06:10:52 +00:00
Daniel Stenberg
86ff2c46b7
introduced 'tunnel through http proxy' for ftp
2000-09-14 14:05:01 +00:00
Daniel Stenberg
5e7cd528b0
made -I (size info only) work for ftp again
2000-08-31 12:04:55 +00:00
Daniel Stenberg
400ca043c7
inet_ntoa_r() usage made more portable
2000-08-24 14:26:06 +00:00
Daniel Stenberg
d4731b7050
Albert Chin-A-Young's fixes
2000-08-23 07:23:42 +00:00
Daniel Stenberg
af352740db
increased the buffer size used for name lookups
2000-08-18 15:09:50 +00:00
Daniel Stenberg
4e35b4387c
Fred Noz fixed the gethostbyaddr_() call
2000-08-17 21:08:09 +00:00
Daniel Stenberg
02f994a715
Fixed to use the new HAVE_GETHOSTBYxxxx_R_x defines, now trying to support
...
the AIX-style as well. The AIX-stuff is *NOT* verified to work.
2000-08-04 11:27:17 +00:00
Daniel Stenberg
76f3498636
The "get ftp command response" function now uses select() on the socket and
...
thus enables timeout if the server doesn't respond within the proper time.
2000-07-25 12:12:29 +00:00
Daniel Stenberg
d9c41a0ffd
Code 250 is okay as well as the previous 226-code after a successful file
...
transfer
2000-07-25 07:26:29 +00:00
Daniel Stenberg
1ef3600a07
haxx.nu => haxx.se
2000-06-20 15:31:26 +00:00
Daniel Stenberg
72158ad2cf
Rich Gray fixed the PORT command line with the missing \r!
2000-06-20 07:45:53 +00:00
Daniel Stenberg
8d76ad6c8e
Adjusted to the GETHOSTBYADDR_R_NARGS style
2000-05-30 22:27:39 +00:00
Daniel Stenberg
a0ce95e155
David LeBlanc's fixes!
2000-05-29 22:51:13 +00:00
Daniel Stenberg
96dde76b99
moved here from the newlib branch
2000-05-22 14:12:12 +00:00
Daniel Stenberg
ab05797500
cleaned up some #ifdef mess, now uses data->fwrite() to write headers
2000-03-16 11:39:31 +00:00
Daniel Stenberg
5a99be2545
updated to use the new set of progress-functions
2000-02-14 22:57:42 +00:00
Daniel Stenberg
c758744e7e
removed #include "upload.h"
2000-02-01 23:56:28 +00:00
Daniel Stenberg
15755b3fd8
Adjusted to use the new Transfer() instead of the old Download()
2000-02-01 23:52:11 +00:00
Daniel Stenberg
26e8ccc631
syncing with local edit
2000-01-10 23:36:14 +00:00
Daniel Stenberg
ae1912cb0d
Initial revision
1999-12-29 14:20:26 +00:00