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'/>

Print by screen the name of the work directory.

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

The directory name visualized in the console would be: