ADO.NET Provider for HDFS

Build 24.0.9060

DownloadFile

Open and read a file.

Input

Name Type Required Accepts Output Streams Description
Path String True False The path of the file which will be opened.
Offset Integer False False The offset from which the reading will start.
Length Integer False False The amount of how much will be read from the file.
BufferSize Integer False False The internal size of the buffer which will be used for the reading of the file
WriteToFile String False False The local location of the file where the output will be written to.
FileStream String False True An instance of an output stream where file data is written to. Only used if WriteToFile is not set.
Encoding String False False The FileData input encoding type.

The allowed values are NONE, BASE64.

The default value is NONE.

Result Set Columns

Name Type Description
Output String The file's content. Output will be displayed only if WriteToFile and FileStream are not set.

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