Uploads a new remote file to an existing resource, replacing any file that is already attached.
|Param1||$resource||The ID of the resource, which must already exist (see create_resource()).|
|Param2||$no_exif||Do not process embedded metadata. Leave blank for the default (to process data).|
|Param3||$revert||Do not upload a new file, but reprocess the existing file as if it has been uploaded again. Useful for re-processing embedded metadata, e.g. after changing the field mappings.|
|Param4||$autorotate||Automatically rotate (correct) images if the rotation flag is set on the image.|
|Param5||$url||The URL of the file to upload. ResourceSpace will copy the file to the local system then import it to the specified resource.|
The operation success (true/false).