createFile | R Documentation |
Upload a local file to a course.
createFile(
courseID,
name = "",
filelocal = "",
path = "",
server = "test",
...
)
courseID |
Course id to create upload the file to |
name |
The name of the file upon upload. |
filelocal |
The path to the file. |
path |
Path of the folder in course files. |
server |
Test, beta, production, or other name in R.environ OR full url of server |
... |
Optional page options to pass to processRequest |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.