Add the text contained between the start and end mark, to the file informed in the name attribute, doing a line break at the end. If this file does not exist, it is created.

1 ftp.println

<ftp.println encoding='encoding'/>
Example

Print by screen the name of the work directory.

Copy
<xsql-script name='ftp_pwd_sample1'>
    <body>
        <ftp host='192.168.10.1' user='ftpuser' password='ftpdeister'>
            <println><ftp.pwd /></println>
        </ftp>
    </body>
</xsql-script>

The directory name visualized in the console would be:

Copy
/