JDBC Driver for FTP

Build 25.0.9434

Upload

Sends a file from the local system to the FTP server, often for the purpose of publishing new files, updates, or reports to remote environments.

Input

Name Type Required Accepts Input Streams Description
LocalFile String False False The local system path to a single file that is uploaded to the FTP server.
LocalFolder String False False The local system path to a folder that is uploaded, specify this or LocalFile for one upload source but not both.
RemotePath String False False The destination directory on the FTP server where the file or folder is stored.
RemoteFile String False False The name of the single file to be uploaded to the FTP server. Required only if StoreUnique is not enabled.
TransferMode String False False The transfer mode used for the upload, such as ASCII or Binary, depending on the file type.

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

デフォルト値はDEFAULTです。

StoreUnique String False False Uploads the file to the server with a unique name automatically assigned by the FTP server.

デフォルト値はfalseです。

Overwrite String False False Determines whether an existing file on the server with the same name should be overwritten.

デフォルト値はfalseです。

Content String False True The file content provided as an InputStream when neither LocalFile nor LocalFolder is specified.

Result Set Columns

Name Type Description
UniqueFileName String The unique file name generated by the server when StoreUnique is set to true.
Success String Indicates whether the upload operation was successful (true) or unsuccessful (false).

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434