ADO.NET Provider for HDFS

Build 24.0.9060

UploadFile

Create and Write to a File.

Input

Name Type Required Accepts Input Streams Description
Path String False False The absolute path of the file which will be created.
Overwrite Boolean False False If set to true, the file will be overwritten.
BlockSize Integer False False The block size for this file.
Permission String False False The permissions which will be set for the created file.
FilePath String False False The path of the file whose content will be written to the newly created file. Has higher priority than Content.
Content String False False The content as a string which will be written to the newly created file. Has lower priority than FilePath.
Stream String False True The content as an InputStream which will be written to the newly created file. Alternative to FilePath and Content.

Result Set Columns

Name Type Description
Success Boolean Whether the operation completed successfully or not.

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