Cmdlets for FTP

Build 24.0.9063

Upload

Upload a file to the remote FTP server.

Input

Name Type Required Description
LocalFile String False Specify one file to be uploaded.
LocalFolder String False Specify one folder to be uploaded. Either specify this or LocalFile for a single object and not both.
RemotePath String False The destination path on the remote host.
RemoteFile String False The file name on the remote host. Required if uploading a single file (LocalFile specified) and StoreUnique is not specified.
TransferMode String False The mode to be used to transfer the file.

使用できる値は次のとおりです。DEFAULT, ASCII, BINARY

デフォルト値はDEFAULTです。

StoreUnique String False This parameter is used to upload a file with a unique name to an FTP server.

デフォルト値はfalseです。

Overwrite String False Whether to overwrite Remote Files.

デフォルト値はfalseです。

Result Set Columns

Name Type Description
UniqueFileName String Generated filename when StoreUnique parameter is set to true.
Success String This parameter sets whether the operation was successful or not.

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