DirListIsSymlink Property
This property indicates whether the entry is a symbolic link.
Syntax
ANSI (Cross Platform) int GetDirListIsSymlink(int iEntryIndex); Unicode (Windows) BOOL GetDirListIsSymlink(INT iEntryIndex);
- (BOOL)dirListIsSymlink:(int)entryIndex;
#define PID_FTP_DIRLISTISSYMLINK 10 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_FTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_FTP_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
FALSE
Remarks
This property indicates whether the entry is a symbolic link. When the entry is a symbolic link the value of DirListIsDir will always be False since this information is not returned in the directory listing. To inspect a symlink to determine if it is a link to a file or folder set RemoteFile and query the FileAttributes.FileIsDir property.
The EntryIndex parameter specifies the index of the item in the array. The size of the array is controlled by the DirListCount property.
This property is read-only and not available at design time.
Data Type
Boolean