Get the number of lines of the FTPFile object indicating its name in the attribute name.
1 ftp.file.getLines
<ftp.file.getLines>
<ftpfile /> +
</ftp.file.getLines>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Eftpfile | FtpFile | An Ftp file. |
Returns | |
---|---|
Type | Description |
Integer | The number of lines of the wished file. |
Exceptions
do not activate 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_sample1'> <body> </body> </xsql-script>