support/download: introduce curl backend for FTP transfers

Recent versions of wget, starting with wget 2.0, aka wget2 thereafter,
no longer support FTP (nor FTPS, aka FTP-over-SSL). wget2 is packaged in
Fedora 40, recently released; F40 does not even have the old wget
available in its repository anymore.

Introduce cURL as a download backend, that we use for FTP and FPTS
protocols.

Note that the -q flag does not means being quiet; it means that a curlrc
file should not be parsed. The long option is --disable, which meaning
is not much more obivous than the short -q. It also has to be the first
option on the command line.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yann E. MORIN
2024-06-02 20:23:07 +02:00
committed by Thomas Petazzoni
parent 5543661bc0
commit afece24a72
6 changed files with 54 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ packages using any of these methods, you will need to install the
corresponding tool on the host system:
+
** +bazaar+
** +curl+
** +cvs+
** +git+
** +mercurial+