ftp:[FILE]

Saves results as a file on the 1010data FTP site.

Syntax

ftp:[FILE]=[TABLE][QUERY]
ftp:[FILE]=[SQL_QUERY]

Description

ftp:[FILE] saves the results of a Macro Language query or an SQL query as a file on the ftp site.

Examples

The following command saves the entire contents of the table pub.doc.retail.salesdetail to a file called salesdetail on the 1010data ftp site:

$ tendo -u [USERNAME] -p [PASSWORD] -g [GATEWAY] ftp:salesdetail=pub.doc.retail.salesdetail .