Closed duboism closed 4 years ago
You should add to readme info on additional ftp options
If I'm correct, protocol options are not mentioned anywhere in the doc and I'm not sure that a few lines in README.md
is enough. Maybe we should do an effort to update the doc.
in global.properties.example of biomaj there are some examples (in options, with tcp_keepalive etc.)
Maybe download should specify in its README some protocol specific options to be set in global (if needed)
We have updated README.md
. We wanted to use a table but it proved hard so we used a list.
This PR allows to pass an option to
CurlDownloader
to set CURLOPT_FTP_FILEMETHOD. Some values (nocwd
andsinglecwd
) allow to significantly speed up the download but are not always supported. Both are supported on NCBI's ftp server for instance.The values to use are the ones valid for the corresponding CLI option (--ftp-method) plus
default
.AFAIU we don't need to modify other packages to support that in banks.