ノーコードでクラウド上のデータとの連携を実現。
詳細はこちら →こんにちは!ドライバー周りのヘルプドキュメントを担当している古川です。
The CData ODBC Driver for FTP can be used from any platform or development technology that supports ODBC, including Sybase PowerBuilder. This article shows how to connect to FTP データ and execute queries from the Database Painter and controls such as the DataWindow.
Follow the steps below to use the Database Painter tool to create a database profile based on an ODBC DSN (data source name) for FTP. In the Database Painter, you can use wizards and the UI to work with FTP データ.
FTP は、プレーンテキスト接続およびSSL/TLS 接続の両方をサポートします。FTP サーバーに接続するには、RemoteHost、User、およびPassword を指定します。SSLMode およびSSLServerCert を設定して、TSL/SSL による接続をセキュアにします。TLS/SSL を介した接続の設定について詳しくは、ヘルプドキュメントの「高度な設定」を参照してください。
次の接続プロパティを設定し、ファイルシステムのリレーショナルビューをコントロールします。
ストアドプロシージャ は、ファイル、のダウンロード、アップロード、およびプロトコルコマンドの送信に利用できます。 SQL を使用してサーバーと対話する方法の詳細については、ヘルプドキュメントの「データモデル」を参照してください。
See the help documentation for a guide to creating a FTP DSN.You can use standard PowerBuilder objects to connect to ODBC data sources and execute queries. The following example shows how to retrieve FTP データ into a DataWindow. You can add the following code to the open method:
SQLCA.DBMS = "ODBC"
SQLCA.DBParm = "ConnectString='DSN=CData FTP Source'"
CONNECT USING SQLCA;
dw_mydirectory.SetTransObject(SQLCA);
dw_mydirectory.Retrieve();