DirListFileName Property

This property shows the file name in the last directory listing.

Syntax

ANSI (Cross Platform)
char* GetDirListFileName(int iEntryIndex);

Unicode (Windows)
LPWSTR GetDirListFileName(INT iEntryIndex);
- (NSString*)dirListFileName:(int)entryIndex;
#define PID_SFTP_DIRLISTFILENAME 4

IPWORKSSSH_EXTERNAL void* IPWORKSSSH_CALL IPWorksSSH_SFTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSSSH_EXTERNAL int IPWORKSSSH_CALL IPWorksSSH_SFTP_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property shows the file name in the last directory listing. This may also be the directory name if a directory is being listed. You can tell whether it is a file or directory by the boolean DirListIsDir 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

String

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 C++ Edition - Version 20.0 [Build 8501]