download_ftp_file: Function to batch download files from an 'FTP' or 'SFTP'...

View source: R/ftp_utilities.R

download_ftp_fileR Documentation

Function to batch download files from an FTP or SFTP server.

Description

Function to batch download files from an FTP or SFTP server.

Usage

download_ftp_file(file_remote, file_local, credentials = "")

Arguments

file_remote

URLs of the files to be downloaded.

file_local

File names for the local version of file_remote. download_ftp_file will create directories if they do not exist and are used.

credentials

Credentials for a FTP or SFTP server. Do not use credentials if the server does not require authentication. credentials takes the format: "username:password".

Author(s)

Tianjian Qin


EvoLandEco/eve documentation built on Sept. 14, 2024, 12:04 a.m.