JDBC Driver for Microsoft OneDrive

Build 23.0.8839


Download an existing file from your drive.


Name Type Required Accepts Output Streams Description
ResourcePath String False False The location of the resource.
ResourceId String False False The Id of the resource to be downloaded.
DriveId String False False The Id of the drive the resource is located in if this is different from the currrent user drive.
LocalFile String False False The local file path including the file name for the location where the file will be saved on disk. Leave empty to keep the file in memory.
Encoding String False False If the LocalFile input is left empty, the data will be output to FileData in the specified encoding.

使用できる値は次のとおりです。NONE, BASE64


Overwrite String False False What to do when downloaded file exists. Set true to overwrite.
FileStream String False True An instance of an output stream where file data is written to. Only used if DownloadPath is not provided.
Version String False False Mention the version of the file except for the latest.
UserId String False False The Id of the user who created the file. Mention only if version is given

Result Set Columns

Name Type Description
FileData String If the LocalFile input is empty, file data will be output in the format specified by the Encoding input.
Success String File download results.

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