Upload a File
Upload a file to an http://, ftp://, or sftp:// (ssh) server. Uploading to HTTP means performing an HTTP PUT on that URL. Be aware that sftp is only available for libcurl clients built with libssh2.
http://
ftp://
sftp://
HTTP PUT
curl_upload(file, url, verbose = TRUE, reuse = TRUE, ...)
file
url
verbose
reuse
...
handle_setopt()
username
password
## Not run: # Upload package to winbuilder: curl_upload('mypkg_1.3.tar.gz', 'ftp://win-builder.r-project.org/R-devel/') ## End(Not run)
Useful links