Topic Path: Symbol Reference > Classes > TIdFSP Class > TIdFSP Properties > DirInfo Property
ContentsIndexHome
PreviousUpNext
TIdFSP.DirInfo Property

Provides access to action and permission flags for a directory on the remote FSP host.

property DirInfo: TIdFSPDirInfo;

DirInfo is a read-only TIdFSPDirInfo property used to access information about a directory on the remote FSP connection. DirInfo contains boolean flags that indicate actions and access permissions allowed for a specific directory, including: 

 

Flag 
Description 
OwnsDir 
Client owns the directory 
CanDeleteFiles 
Files can be deleted from this directory 
CanAddFiles 
Files can be added to this directory 
CanMakeDir 
New subdirectories can be created 
OnlyOwnerCanReadFiles 
Files are NOT readable by non-owners 
HasReadMe 
Directory contain a readme file 
CanBeListed 
Directory can be listed 
CanRenameFiles 
Files can be renamed in this directory 

 

Values in DirInfo are updated when the application calls one of the overloaded GetDirInfo methods. Data returned in the response packet for the FSP CC_GET_PRO command is parsed and stored in the DirInfo object instance. 

Please note that, at the present time, TIdFSP does not implement setting DirInfo values on the remote FSP host using the FSP CC_SET_PRO command.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.