Establishing a Connection
The CData ADO.NET Provider for FTP allows connecting to FTP servers.
Connecting to an FTP Server
FTP supports both plaintext and SSL/TLS connections. To connect to an FTP server specify the RemoteHost, User, and Password. Set SSLMode and SSLServerCert to secure connections with TLS/SSL. See SSL Configuration for more information on configuring connectivity over TLS/SSL.
Connecting to Data
Set the following connection properties to control the relational view of the file system:
- RemotePath: Set this to the current working directory.
- TableDepth: Set this to control the depth of subfolders to report as views.
- FileRetrievalDepth: Set this to retrieve files recursively and list them in the Root table.