FtpPermission Fields |
The FtpPermission type exposes the following members.
Name | Description | |
---|---|---|
Append |
The "a" permission applies to objects of type=file, and indicates that the Append(String, Byte) command may be applied to the file named.
| |
ChangeFolder |
The "e" permission applies to the directory types.
When set on an object of type=dir, type=cdir, or type=pdir it indicates that a ChangeFolder(String)
command naming the object should succeed, and the user should be able to enter the directory named.
For type=pdir it also indicates that the ChangeFolderUp command may succeed
(if this particular pathname is the one to which a ChangeFolderUp would apply.)
| |
CreateFile |
The "c" permission applies to objects of type=dir (and type=pdir, type=cdir).
It indicates that files may be created in the directory named.
That is, that a UploadUnique(Byte) and UploadUnique(Stream) commands are likely to succeed,
and that Upload(String, Byte) and Append(String, Byte) commands might succeed if the file named did not previously exist,
but is to be created in the directory object that has the "c" permission.
It also indicates that the Rename(String, String) command is likely to succeed for names in the directory.
| |
CreateFolder |
The "m" permission applies to directory types.
It indicates that the CreateFolder(String) command may be used to create a new directory within the directory under consideration.
| |
Delete |
The "d" permission applies to all types.
It indicates that the object named may be deleted, that is,
that the DeleteFolder(String) command may be applied to it if it is a directory,
and otherwise that the DeleteFile(String) command may be applied to it.
| |
List | ||
Purge |
The "p" permission applies to directory types.
It indicates that objects in the directory may be deleted,
or (stretching naming a little) that the directory may be purged.
Note: it does not indicate that the RMD command may be used to remove the directory named itself, the "d" permission indicator indicates that.
| |
Read |
The "r" permission applies to type=file objects, and for some systems, perhaps to other types of objects.
It indicates that the Download(String) command may be applied to that object.
| |
Rename |
The "f" permission for objects indicates that the object named may be
renamed - that is, may be the object of an Rename(String, String) command.
| |
Write |
The "w" permission applies to type=file objects, and for some systems, perhaps to other types of objects.
It indicates that the Upload(String, Byte) command may be applied to the object named.
|