summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
AgeCommit message (Expand)Author
2019-12-05Fix #ifndef NOSSL vs SMALL inconsistenciesJeremie Courreges-Anglas
2019-12-02Tweak inaccurate commentJeremie Courreges-Anglas
2019-11-18various knf and whitespace; ok jcaTheo de Raadt
2019-11-14HTTP/1.1 for ftp(1)Jeremie Courreges-Anglas
2019-11-04Apply more 'static' to help the compilerJeremie Courreges-Anglas
2019-11-03Also use stdio for TLS connectionsJeremie Courreges-Anglas
2019-10-23list -N before -n in the options list;Jason McIntyre
2019-10-23Add new -N name option, so that calling scripts can change theTheo de Raadt
2019-10-23change some error reports to include the failing URL (which we vis, inTheo de Raadt
2019-10-15When setting the modification time on the retrieved file, use utimensat()Philip Guenther
2019-10-13Also close the server connection before retrying on a 503.Jeremie Courreges-Anglas
2019-10-13Factor out socket cleanup codeJeremie Courreges-Anglas
2019-10-09On a 503, only retry if "Retry-After: 0" is present.Jeremie Courreges-Anglas
2019-10-05Retry request once when receiving a 503Jeremie Courreges-Anglas
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-28mkstemp() returns -1 on failureTheo de Raadt
2019-05-16Revert suni'ls ftp rewrite for now.Florian Obser
2019-05-15Display "bytes received" like the csrg ftp used to when the progressbarFlorian Obser
2019-05-15Add the -m flag to the ftp.1 man page.kmos
2019-05-14do not intermingle direct io (write), and potentially buffered io (stdio)Theo de Raadt
2019-05-14Document -vFlorian Obser
2019-05-14-v forces verbose mode even if stdin is not a terminalFlorian Obser
2019-05-14Enable TLSv1.0 and TLSv1.1Jeremie Courreges-Anglas
2019-05-14Remove an unused and leftover label.Sunil Nimmagadda
2019-05-14tls_write(3): Handle short writes.Sunil Nimmagadda
2019-05-13ephermal -> ephemeralTheo Buehler
2019-05-12Fix double free by nulling out pointers after free.Theo Buehler
2019-05-12Make the "xx bytes received in y time" message go to the right placekmos
2019-05-12zap confusing unneeded parametersMarc Espie
2019-05-12Repair ftp -o - and thus pkg_add: print informational messages on stderrJeremie Courreges-Anglas
2019-05-12It will show up in 6.6.Florian Obser
2019-05-12add rcs idsJasper Lievisse Adriaanse
2019-05-12Move us from old ftp(1) to Sunil's new ftp(1). The necessary modificationskmos
2019-05-09ftp makes a new connection for each auto-fetch file. Remove a lie claimingChristian Weisgerber
2018-02-10Add TLS session support to ftp(1).Joel Sing
2018-02-07rename var 's' -> 'fd' to ease finding it in a long functionRichard Procter
2018-02-07eliminate close()/fclose() dance.Richard Procter
2018-01-24Use closefrom(3) instead of manually closing all file descriptorsTheo Buehler
2017-12-23Use the monotonic clock for logging progress in cdio(1) and ftp(1).cheloha
2017-09-25Initialize 'out' file descriptor to avoid possibleKenneth R Westerback
2017-09-05Avoid a possible leak in progressmeterJeremie Courreges-Anglas
2017-08-01Remove self assignment.anton
2017-03-07tls_close() can return TLS_WANT_POLLIN/TLS_WANT_POLLOUT, handle themSunil Nimmagadda
2017-03-02close ftp(1)'s output file to avoid leaking one FD per request.Stuart Henderson
2017-02-28Use a do{}while loop with ssize_t return value when calling tls_read()Philip Guenther
2017-01-25cetificate -> certificate;Jason McIntyre
2017-01-24Add -S noverifytime to ftp to permit an unvalidated TLS connection whenBob Beck
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
2017-01-20Move a couple of variables that are unused in SMALL under #ifndef SMALL.Kenneth R Westerback
2017-01-20Straggling __dead. Mark usage() as __dead and make gcc happier.Kenneth R Westerback