Daniel Stenberg
779043f7a3
As Eric Lavigne pointed out, the ftp response reader MUST cache data that
...
is not dealt with when we find an end-of-response line, as there might be
important stuff even after the correct line. So on subsequent invokes, the
cached data must be used!
2001-12-03 13:48:59 +00:00
Daniel Stenberg
332eb7651a
CURLOPT_FTP_USE_EPSV can now be set to FALSE to prevent libcurl from
...
attempting to use EPSV before the standard PASV.
2001-11-28 23:20:14 +00:00
Daniel Stenberg
f0d3fccd4b
Added EPSV which is now unconditionally always tried before PASV, which
...
makes it work reaaaaly nicely on IPv6-enabled hosts!
Added SIZE before RETR is made, always done on downloads. It makes us know
the size prior to download much more frequently.
Unfortunately, this breaks all the FTP test cases. *fixfixfix*
2001-11-28 13:05:39 +00:00
Daniel Stenberg
aff19f64b5
use in_addr_t for inet_addr() return code. Now, now portable is this *REALLY*?
...
We should add some configure tests for this!
2001-11-28 12:16:52 +00:00
Daniel Stenberg
bbf80d0f93
commented out the EPSV support
2001-11-27 00:50:52 +00:00
Daniel Stenberg
6003f24f78
initial code added to support EPSV (IPv6-style PASV)
2001-11-27 00:48:45 +00:00
Daniel Stenberg
1c8da21083
Eric fixed a wild write
2001-11-22 09:40:34 +00:00
Sterling Hughes
8d62e21072
looks better on one line (testing the cvs diffing via mail, but I also think
...
this looks a bit better ;)
2001-11-15 14:16:13 +00:00
Daniel Stenberg
6aafc2dfd2
corrected the ftp_getsize() usage, as the HPUX compiler warned on them
2001-11-13 12:46:29 +00:00
Daniel Stenberg
65b22480f4
uninitialized variable
2001-11-13 12:09:05 +00:00
Daniel Stenberg
c7cdb0f266
make sure to "read out" the server reply even if we didn't get any data from
...
the server when that's the only error
2001-11-12 22:27:05 +00:00
Daniel Stenberg
96fb118251
added comments and function headers
2001-11-01 12:47:22 +00:00
Daniel Stenberg
99888388dc
Use Curl_tvdiff to compare times
2001-11-01 12:17:51 +00:00
Daniel Stenberg
027fc719cc
fixed FTPSENDF for ipv6 compiles
2001-10-31 20:59:24 +00:00
Daniel Stenberg
7e6a36ea7b
major commit, now we check the return code on every invoke of Curl_ftpsendf
...
- which now is made using a macro named FTPSENDF. I turned it all caps just
to make it more visible that it is in fact a macro.
2001-10-31 14:56:12 +00:00
Sterling Hughes
8e91d5de8e
looks nicer and is better compatible with older vim versions
2001-10-11 09:32:19 +00:00
Daniel Stenberg
5d9ae88f58
getaddrinfo() cleanups
2001-10-04 13:25:12 +00:00
Daniel Stenberg
51ca5fcbe0
major connecting updates
2001-10-02 09:40:06 +00:00
Daniel Stenberg
9d342bbf07
sessionhandle->hp => hostaddr
2001-10-01 22:31:43 +00:00
Daniel Stenberg
5cd267b2be
removed obsoletetd myalarm() calls
2001-10-01 11:35:29 +00:00
Daniel Stenberg
ae2ecfc5cb
removed the socket argument from some functions that always passed in the
...
same socket and it was available from the passed-in struct anyway!
2001-09-28 09:15:19 +00:00
Daniel Stenberg
cc610f0d1f
now compiles warning-free when IPv6-enabled
2001-09-28 09:02:57 +00:00
Daniel Stenberg
8333644c84
moved the PORT and PASV code into separate smaller functions for readability
...
renamed all static ^_ftp_* functions to ^ftp_, prefixing with underscore is
not nice
2001-09-28 08:58:18 +00:00
Daniel Stenberg
4d13b2cc64
more ipv6 cleanups to make smaller functions that are easier to read
2001-09-28 07:46:39 +00:00
Daniel Stenberg
48dc74aecc
more transparant support for IPv6 name resolving
2001-09-28 07:05:26 +00:00
Daniel Stenberg
711650b178
test 119 proved a memory leak in the FTP parts when IPv6 is enabled and the
...
RETR fails, this corrects it.
2001-09-23 12:47:07 +00:00
Daniel Stenberg
0e25cf41c4
modified error message when PWD fails
2001-09-14 12:18:46 +00:00
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