History log of /freebsd/lib/libfetch/ftp.c (Results 76 – 100 of 231)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 04a80993 22-Nov-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Revert previous commit, it was somewhat hasty.


# 1baad1a1 22-Nov-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't go haywire if the server closes the connection during a multiline
response.


Revision tags: release/4.2.0
# e828ada7 10-Nov-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Use the documented (and historical) defaults. Centralize the decision logic
in order to avoid this bug in the future.

Submitted by: se


# d74a913b 29-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Use CHECK_FLAG


# 23109751 29-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Stricter error checking in the I/O functions.


# 7ca2f6ae 28-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix this my way. David had absolutely no call overriding MAINTAINER without
even giving me 24 hours to read his mail and find the bug.


# f03bce74 28-Oct-2000 David E. O'Brien <obrien@FreeBSD.org>

Repeat after me, "check to see that a pointer isn't NULL before
dereferenceing it". This fixes ``pkg_add -r''.


# 303fd73a 27-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

MFS: don't expect result code until you close the data connection


# c7d40ef2 22-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Use funopen() instead of fdopen(). This fixes three problems:

- ftpTimeout was not honored when reading actual data, as opposed to
talking protocol

- connection caching was broken because _ftp

Use funopen() instead of fdopen(). This fixes three problems:

- ftpTimeout was not honored when reading actual data, as opposed to
talking protocol

- connection caching was broken because _ftp_cached_connect() would see
the result of the transfer instead of the result of the NOOP.

- if the RETR succeeded, but an error occurred later (as can happen
when talking to a proxy), the error would not be detected.

There still remains to register an atexit(3) callback to close the cached
connection gracefully instead of just dropping it on the floor.

show more ...


# 8b9ba466 17-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Argh! Fix passive mode selection (again)


# cb5b7353 13-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Use the right user name


# 1a16ed4c 13-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Rework proxy handling so that proxies can be specified as URLs.
As a side effect, remove a lot of duplicate and now redundant code.


Revision tags: release/4.1.1_cvs
# ea014d85 21-Aug-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Grok 125 replies to passive RETR. This fixes an interoperability bug with
Microsoft FTP Service.

Reported by: asmodai, eivind


# 0f27c783 27-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't fail if _ftp_stat() reports a protocol error, since that most likely
means that the server doesn't understand SIZE or MDTM, which should not be a
hard failure.

Submitted by: ume


Revision tags: release/4.1.0
# 63428824 25-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

If the server reports the size as 0, treat it as unknown. This works around
a bug in some ftp servers (most notably ftp.vmunix.com) which report the
size of a file correctly in ascii mode, but report

If the server reports the size as 0, treat it as unknown. This works around
a bug in some ftp servers (most notably ftp.vmunix.com) which report the
size of a file correctly in ascii mode, but report it as 0 in binary mode.

Reported by: asmodai

Also remove an unneeded initialization.

show more ...


# 10851dc4 25-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Centralize the default port finding code.
Work around YA Apache bug: don't send port in Host: header if it's the
default port.


# dfe7c55f 21-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

The decision to use an HTTP proxy for FTP documents belongs in the FTP code


# 2e88106b 21-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't send port number to proxy unless it's not the standard FTP port


# 5e3f46b5 20-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix the case where the file name is preceded by a lone slash.


# 269532d9 18-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't take a failure to stat a file to mean that it doesn't exist, as it may
be a dynamically created file, e.g. a tarball on servers that support sending
tarballs of directories.


# 1a5faa10 17-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Introduce fetchXGet*(), which combine the functionalities of fetchGet*() and
fetchStat*(). In most cases, either fetchGet*() or fetchXGet*() is a wrapper
around the other; in all cases, calling fetc

Introduce fetchXGet*(), which combine the functionalities of fetchGet*() and
fetchStat*(). In most cases, either fetchGet*() or fetchXGet*() is a wrapper
around the other; in all cases, calling fetchGet*() is identical to calling
fetchXGet*() with the second argument set to NULL.

show more ...


# 5cd33c40 17-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Use a symbolic constant instead of hardcoding 999


# e137bceb 12-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Use fetch_putln()


# ec894321 11-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Clean up the debugging output


# fa5dce6c 10-Jul-2000 Hajimu UMEMOTO <ume@FreeBSD.org>

Make EPSV work again. Separate parsing code of 229 replies from
the code for 227 and 228.

Submitted by: des


12345678910