# 1 ftp.get

<ftp.get    name='name'    localname='localname'/>

#### Exceptions

attribute 'name' required

do not activate ftp connection

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

java.io.FileNotFoundException: RETR [...] No such file or directory

There is no file whose name matches the one specified in the name attribute.

java.io.FileNotFoundException: RETR [..] Not a regular file

Example

Download a file of the FTP server, storing it in the database.

Copy
<xsql-script name='ftp_sample2'>
<body>
</xsql-script>