This function uploads a specific file to a specific folder.
Arguments
- canvas
An object containing the Canvas API key and base URL, obtained through the
canvas_authenticatefunction.- folder_id
The ID of the folder to which the file is uploaded.
- file_name
The path to the local file that should be uploaded.
- generate_message
A logical expressing whether a message should be shown after a succesful upload; defaults to
TRUE.
Value
If generate_message is TRUE, a confirmation message indicating
that the file has been successfully uploaded.
