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.
upload_file(
content,
target,
encode = "raw",
mime = "application/octet-stream",
con = NULL
)
the file path of the file to be uploaded
the relative server path location for the file, e.g. where to find the file in the users workspace
the encoding type used to upload the data, e.g. 'multipart','form','json','raw' ('raw' by default)
mime type used in upload_file ('application/octet-stream' as a default)
authorized Connection (optional) otherwise active_connection()
is used.
the relative file path on the server