Add the text contained between the start and end mark, to the file informed in the name attribute,
doing a line break at the end. If this file does not exist, it is created.
1 ftp.println
<ftp.println encoding='encoding'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aencoding | string | Indicates the encoding of the string of characters to be processed, for example ISO-8859-1 or UTF-8. If not specified, the one defined in the configuration file for the server is used. |
Returns | |
---|---|
Type | Description |
Data |
Example
Print by screen the name of the work 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 directory name visualized in the console would be:
Copy
/