Load a file (to the remote host).
1 sftp.put
<sftp.put
name='name'
encoding='encoding'
/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aname | String | Name with which the loaded file will appear (in the remote host). | |||
Aencoding | string | Indicate the coding of the string of characters to process, 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 |
Boolean | Returns true if the upload has been performed successfully. |