wodFtpDLX ActiveX Control - Permissions Property
      
 

Description

Holds file or directory permissions.


Property type

A String value.  


Syntax

object.Permissions [= value]



The Permissions Property syntax has these parts:

Part Description
object An expression evaluating to an object of type DirItem.
value A String value.

Remarks

Most servers you connect to will provide you with information about file/folder access permissions. Usually UNIX servers will provide them (sometimes Windows servers too) in a format like this: 'drwxr-xr-w' and wodFtpDLX will not try to parse this information. It is also possible, on some servers, that you get permissions shown as number - in which case it is dependant on that server.

Above permission sample means the following:

d - item is a directory
r - item is owner readable
w - item is owner writable
x - item is owner executable (in case of folder, means owner can step into the folder)
r - item is group readable
- - item is NOT group writable
x - item is group executable
r - item is readable for others
- - item is NOT writable for others
x - item is executable for other

Just a reminder - you must call ListDir to get directory listing, and then access files through Ftp.DirItems property in order for this property to be available!