ftp.setattrib
Sets the attributes. This method sets the attributes for the file or the directory.
method uint ftp.setattrib (
str name,
uint mode
)
str name,
uint mode
)
Parameters
name | The name of a file or directory. |
mode | The attributes for the file. |
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Related links | Source |