If you want to create or update a shared file on a Controller, use the FileData parameter to upload the new file content as multipart/form-data.
FileData