Obtains the name of the referenced file by the FTPFile object returned by <ftp.listFiles>.

1 ftp.file.getName

    <ftpfile /> +

List the files of the FTP server which accomplish a condition and shows an alert if any oh them is a folder.

<xsql-script name='ftp_sample1'>
        <ftp host='' user='ftpuser' password='ftppasswd'>
            <set name='m_list'><ftp.listFiles pattern='*2012*' /></set>
            <iterator name='m_fileobj' index='i'>
                  	        <println>It is a directory</println>