[−][src]Function dropbox_sdk::files::upload
pub fn upload(
client: &dyn HttpClient,
arg: &CommitInfo,
body: &[u8]
) -> Result<Result<FileMetadata, UploadError>>
Create a new file with the contents provided in the request. Do not use this to upload a file
larger than 150 MB. Instead, create an upload session with
upload_session_start()
. Calls to this endpoint will count as data
transport calls for any Dropbox Business teams with a limit on the number of data transport
calls allowed per month. For more information, see the Data transport limit
page.