Internet Direct (Indy)
Home
PreviousUpNext
TIdFSP.DirInfo Property

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

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.