upload_file {openeo} | R Documentation |
Upload data into the users workspace
Description
This function sends the file retrieved by the 'content' parameter to the specified target location (relative file path in the user workspace) on the back-end.
Usage
upload_file(
content,
target,
encode = "raw",
mime = "application/octet-stream",
con = NULL
)
Arguments
content |
the file path of the file to be uploaded |
target |
the relative server path location for the file, e.g. where to find the file in the users workspace |
encode |
the encoding type used to upload the data, e.g. 'multipart','form','json','raw' ('raw' by default) |
mime |
mime type used in upload_file ('application/octet-stream' as a default) |
con |
authorized Connection (optional) otherwise |
Value
the relative file path on the server
[Package openeo version 1.3.1 Index]