JDBC Driver for Microsoft SharePoint

Build 22.0.8462

UploadDocument

Uploads a document into the SharePoint library.

Input

Name Type Accepts Input Streams Description
RelativeUrl String False The URL of the folder you would like to upload file(s) to, relative to the base Url supplied in the driver's connection properties.

For example:
Root folder: Shared Documents
Sub-folder: Shared Documents/MyFolder

If you set the Url connection property to a site collection, the relative URL will correspond with a path on the base site.
If the Url connection property points to a specific site, the relative URL will be relative to the site supplied in the Url.
InputFilePath String False The location of the file to be uploaded.
FileName String False Name of the File to be created.
Overwrite String False Boolean value to overwrite the existing file data.
Content String True The content as InputStream to be uploaded when InputFilePath is not specified.

Result Set Columns

Name Type Description
Id String Unique identifier Value Returned after completing the operation.
Status String Message indicating whether the operation was successful or not.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462