FileExists Property

Returns true if the file specified by RemoteFile exists on the remote server.


ANSI (Cross Platform)
int GetFileExists();

Unicode (Windows)
BOOL GetFileExists();
@property (nonatomic,readonly,assign,getter=fileExists) BOOL fileExists;
- (BOOL)fileExists;

IPWORKSSFTP_EXTERNAL void* IPWORKSSFTP_CALL IPWorksSFTP_SFTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value



This property returns True if the file exists on the remote server. It returns false if the file does not exist. You must specify the file you wish to check by setting the RemoteFile prior to calling this method.

If there is no session in place, the value of this property will always be false.

This property is read-only and not available at design time.

Data Type


Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SFTP 2020 C++ Edition - Version 20.0 [Build 8162]