summaryrefslogtreecommitdiff
path: root/lib/libfetch/ftp.c
AgeCommit message (Expand)Author
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2021-08-24Fix libfetch out of bounds read.Gordon Tetlow
2018-11-27Improve URL parsing. In particular, convert scheme and host to lowercase.Dag-Erling Smørgrav
2018-11-27Support proxying FTP over HTTPS, not just HTTP.Dag-Erling Smørgrav
2018-05-29Fix an inverted conditional in the netrc code, which would ignore theDag-Erling Smørgrav
2018-05-29Use __VA_ARGS__ to simplify the DEBUG macro.Dag-Erling Smørgrav
2017-11-30SPDX: use the Beerware identifier.Pedro F. Giffuni
2017-11-26lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2016-11-22Refactor fetch_connect() and fetch_bind() to improve readability and avoidDag-Erling Smørgrav
2016-04-09libfetch: replace 0 with NULL for pointers.Pedro F. Giffuni
2011-10-19latin1 -> utf8Dag-Erling Smørgrav
2011-09-27Update copyright dates and strip my middle name.Dag-Erling Smørgrav
2011-09-27Think first, commit second.Dag-Erling Smørgrav
2011-09-27Long overdue: make passive mode the default for ftp.Dag-Erling Smørgrav
2011-05-12Increase WARNS to 4.Dag-Erling Smørgrav
2011-01-17Fix a bug related to connection caching which could cause a crash afterDag-Erling Smørgrav
2009-11-25Fix a socket leak in ftp_request() after that a connection is established.Attilio Rao
2008-02-08Use memcpy(3) instead of the BSD-specific bcopy(3).Dag-Erling Smørgrav
2008-01-23Fix a regression introduced in rev 1.99: replace fclose(f) with a commentDag-Erling Smørgrav
2007-12-19As several people pointed out, I did all the ctype casts the wrongDag-Erling Smørgrav
2007-12-18Add support for the NO_PROXY / no_proxy environment variable as used byDag-Erling Smørgrav
2007-12-18Old patch I had lying around: correctly cast the argument to is*().Dag-Erling Smørgrav
2007-12-14Clean up namespace violations.Dag-Erling Smørgrav
2007-04-22Add back the original behavior of changing the entire directory path atNate Lawson
2006-06-13Respect FETCH_BIND_ADDRESS when opening the data connection.Dag-Erling Smørgrav
2006-06-13Fix a bug introduced in rev 1.92, where, when changing from one directoryDag-Erling Smørgrav
2006-01-19In order to maintain interoperability with certain broken FTP servers,Dag-Erling Smørgrav
2005-08-12Change directory one level at a time, and use CDUP to back out. This is aDag-Erling Smørgrav
2004-09-21Update copyright years.Dag-Erling Smørgrav
2003-08-29Don't close a FILE * which we know is bogus.Dag-Erling Smørgrav
2003-08-19Some servers respond to RETR in active mode with 125 (connection alreadyDag-Erling Smørgrav
2003-03-19The flags passed in to _ftp_get_proxy may be nullMike Makonnen
2003-03-11Don't parse the proxy URL unless we're actually going to use it. No realDag-Erling Smørgrav
2003-01-28style(9): add parentheses to sizeof even when not strictly required.Dag-Erling Smørgrav
2003-01-22Hook in the .netrc code + don't use pointers as if they were booleans.Dag-Erling Smørgrav
2002-10-25The FTP connection caching needs a better interface -- connections areNate Lawson
2002-10-20When recycling a cached connection, increment the reference count so thatTim J. Robbins
2002-09-17Make _fetch_connect() always set the error code.Bill Fenner
2002-07-02Cope with 2292bis-01 getaddrinfo (no NI_WITHSCOPEID, always attachHajimu UMEMOTO
2002-06-11Add a reference count to struct fetchconn so we don't prematurely close andDag-Erling Smørgrav
2002-06-05Wrap everything in struct connection, and enforce timeouts everywhereDag-Erling Smørgrav
2002-06-05First step towards SSL support: wrap connections in a 'struct connection'Dag-Erling Smørgrav
2002-03-25Modernize my email addressPoul-Henning Kamp
2002-02-05Reindent, and add parentheses to return statements. Some functions inDag-Erling Smørgrav
2002-01-20Mark uploads as O_WRONLY, not O_RDONLY.Dag-Erling Smørgrav
2002-01-01Remove VT100 escapes from debugging messages now that they're enabled byDag-Erling Smørgrav
2001-12-04Reorganize to reduce code duplication.Dag-Erling Smørgrav
2001-10-18Tons of type, style and warning fixes that have been rotting in my tree forDag-Erling Smørgrav
2001-09-30Add __FBSDID()s to libfetchMatthew Dillon
2001-08-20Handle snprintf() returning < 0 (not just -1)Brian Somers