![]() |
VOOZH | about |
The CData Excel Add-In for FTP provides formulas that can edit, save, and delete FTP data. The following three steps show how you can automate the following task: Search FTP data for a user-specified value and then organize the results into an Excel spreadsheet.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as FTPConnection1, or a connection string. The connection string consists of the required properties for connecting to FTP data, separated by semicolons.
To connect to FTP or SFTP servers, specify at least RemoteHost and FileProtocol. Specify the port with RemotePort.
Set User and Password to perform Basic authentication. Set SSHAuthMode to use SSH authentication. See the Getting Started section of the data provider help documentation for more information on authenticating via SSH.
Set SSLMode and SSLServerCert to secure connections with SSL.
The data provider lists the tables based on the available folders in your FTP server. Set the following connection properties to control the relational view of the file system:
Stored Procedures are available to download files, upload files, and send protocol commands. See the Data Model chapter of the FTP data provider documentation for more information.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM MyDirectory WHERE FilePath = '"&B2&"'","RemoteHost="&B1&";Provider=FTP",B3)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for FTP to get started:
Download NowLearn more:
👁 FTP IconThe FTP Excel Add-In is a powerful tool that allows you to connect with live data from remote files and directories, directly from Microsoft Excel.
Perfect for mass imports / exports / updates, and Excel based data analysis!