Main Content
urlread
Download URL content to character vector (not recommended)
urlread
is not recommended. For http
or
https
protocols, use webread
or webwrite
instead. For
ftp
protocols, use ftp
functions. For file
protocols, use fileread
, fopen
or copyfile
.
Description
uses additional options specified by one or more str
= urlread(URL
,Name,Value
)Name,Value
pair arguments.
Examples
Input Arguments
Output Arguments
Tips
urlread
saves web content to a character vector. To save content to a file, useurlwrite
.urlread
andurlwrite
can download content from FTP sites. Alternatively, use theftp
function to connect to an FTP server and themget
function to download a file.
Version History
Introduced before R2006a