## uploadFile(options) @uploadfile

<!-- UTSUNICLOUDAPIJSON.uploadFile.description -->

<!-- UTSUNICLOUDAPIJSON.uploadFile.compatibility -->

<!-- UTSUNICLOUDAPIJSON.uploadFile.param -->

<!-- UTSUNICLOUDAPIJSON.uploadFile.returnValue -->

<!-- UTSUNICLOUDAPIJSON.uploadFile.tutorial -->

<!-- UTSUNICLOUDAPIJSON.uploadFile.example -->

## chooseAndUploadFile(options) @chooseanduploadfile

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.description -->

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.compatibility -->

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.param -->

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.returnValue -->

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.tutorial -->

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.example -->

**注意**

- 4.18之前uni-app-x在app端仅支持选择图片，即type参数仅能设为`image`。
- 4.18及之后的版本uni-app-x在app端仅支持选择图片、视频，即type参数仅能设为`image`、`video`。

## getTempFileURL(options) @gettempfileurl

<!-- UTSUNICLOUDAPIJSON.getTempFileURL.description -->

<!-- UTSUNICLOUDAPIJSON.getTempFileURL.compatibility -->

<!-- UTSUNICLOUDAPIJSON.getTempFileURL.param -->

<!-- UTSUNICLOUDAPIJSON.getTempFileURL.returnValue -->

<!-- UTSUNICLOUDAPIJSON.getTempFileURL.tutorial -->

<!-- UTSUNICLOUDAPIJSON.unicloud-file-api.example -->
