ODBC Driver for FTP

Build 23.0.8839

Root

The root table. This table will always be available. Other tables are automatically detected by the TableDepth connection property.

テーブル固有の情報

Select

ディレクトリ内のすべてのファイルとディレクトリを取得します。

SELECT * FROM Root

Insert

サーバーにファイルをアップロードするには、LocalFile およびFilename を指定する必要があります。

INSERT INTO Root (Localfile, Filename) VALUES ('D:\\\\ShareFolder\\\\Notes.txt', 'NewNotes.txt')

サーバー上に新しいディレクトリを作成するには、Filename を指定してIsDirectory をTrue に設定する必要があります。

INSERT INTO Root (Filename, IsDirectory) VALUES ('New Directory', true)

Update

ファイルの名前のみ更新できます。WHERE 句でFilePath を指定する必要があります。

UPDATE Root SET Filename = 'OldNotes.txt' WHERE FilePath = '/Documents/Test/NewNotes.txt'

Delete

FilePath を指定して、ファイルを削除します。

DELETE FROM Root WHERE FilePath = '/Documents/Test/OldNotes.txt'

FilePath を指定し、IsDirectory をTrue に設定してディレクトリを削除します。

DELETE FROM Root WHERE FilePath = '/Documents/Test' AND IsDirectory = true

Columns

Name Type ReadOnly Description
FilePath [KEY] String True

The current path in the FTP/SFTP server.

Filename String False

The name of the file or directory.

FileSize Long True

The size of the file. 0 in case of a directory.

LastModified Datetime True

The last modification time of the file.

IsDirectory Boolean True

The file name of the attachment.

LocalFile String True

The path of a file to upload. This column is used for insert statements only.

Permissions String True

Permissions of a directory or a file.

Owner String True

User name for the owner of a directory or a file.

Group String True

Group name assigned to a directory or a file.

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