curl (version 2.3)

form_file: Upload files with form

Description

Upload files with form

Usage

form_file(path, type = NULL)

Arguments

path
a string with a path to an existing file on disk
type
MIME content-type of the file.