ADO.NET Provider for Microsoft Office 365

Build 24.0.9060

UploadFile

Upload a new file or update content to an existing file.

Input

Name Type Required Accepts Input Streams Description
FileName String False False Name of the file you need to upload content to. Only specify it if you already have an existing file.
ParentId String True False Id of the folder where the current item is.
Content String False False File content to be uploaded.
LocalFile String False False Local file containing the content to be uploaded.
ContentStream String False True The content as InputStream to be uploaded when localpath or folderpath is not specified

Result Set Columns

Name Type Description
Id String Id of the File uploaded.
* String File upload results.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060