FTPDirectoryEntryAttributes()
Syntax
Attributes = FTPDirectoryEntryAttributes(#Ftp)Description
Returns the attributes of the current entry in the #Ftp being listed with ExamineFTPDirectory() and NextFTPDirectoryEntry() functions.
Attributes is a combination of the following values:#PB_FTP_ReadUser : Access flags for the owning user #PB_FTP_WriteUser #PB_FTP_ExecuteUser #PB_FTP_ReadGroup : Access flags for the owning user's group #PB_FTP_WriteGroup #PB_FTP_ExecuteGroup #PB_FTP_ReadAll : Access flags for all other users #PB_FTP_WriteAll #PB_FTP_ExecuteAllTo check if one attribute is actually set, just use the '&' (binary AND) and the attribute constant value:[...] FileAttributes = FTPDirectoryEntryAttributes(#Ftp) If FileAttributes & #PB_FTP_ReadUser Debug "This file has the ReadUser flag" EndIf
Supported OS
All