Change to the parent directory in the hierarchy.
 

1 ftp.cdup

<ftp.cdup />

Exceptions

no active ftp connection

It is not possible to obtain the FTP communication with the server because there is not established.

Example
Copy
<xsql-script name='ftp_cdup_sample1'>
    <body>
        <ftp host='192.168.10.1' user='ftpuser' password='ftpdeister'>
            <println><ftp.list /></println>
            <ftp.cwd dir='clients' />
            <println><ftp.list /></println>
            <ftp.cdup />
            <println><ftp.list /></println>
        </ftp>
    </body>
</xsql-script>

Completing the example of the tag <cwd>, the work directory 'clients' is changed to the parent directory, going up one level i the hierarchy.