fun download(urlDir: String, vararg fileNames: String): List<FileResolution>fun download(urlDir: String, fileNames: Iterable<String>): List<FileResolution>
Download files from same URL using automatically determined file transfer (HTTP, SFTP, SMB, URL, local file system).
fun download(url: String): FileResolution
Download file using automatically determined file transfer (HTTP, SFTP, SMB, URL, local file system).
Same global settings (like basic auth credentials of HTTP) of each particular file transfer will be used for all files downloaded. This shorthand method assumes that mostly only single HTTP / SFTP / SMB server will be used to download all files.
To use many remote servers with different settings, simply use dedicated methods 'downloadHttp/Sftp/Smb' when declaring each file to be downloaded.