Download URL content to character vector (not recommended)
uses additional options specified by one or more str
= urlread(URL
,Name,Value
)Name,Value
pair arguments.
urlread
saves web content to a character vector. To save
content to a file, use urlwrite
.
urlread
and urlwrite
can
download content from FTP sites. Alternatively, use the ftp
function
to connect to an FTP server and the mget
function
to download a file.