FileExists Property

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

Syntax

ANSI (Cross Platform)
int GetFileExists();

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

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_FTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

FALSE

Remarks

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 the class is busy or is not connected, 0 is returned.

If there is no FTP session in place, one is automatically created by first calling the Logon method.

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

Data Type

Boolean

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