Cmdlets for HDFS

Build 24.0.9060

UploadFile

Create and Write to a File.

Input

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

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