Gets the name of the current directory (working directory).

# 1 ftp.pwd

<ftp.pwd />

#### Exceptions

do not activate ftp connection

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

Example

Print on screen the name of the working 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 name of the directory visualized in the console would be:

Copy
/