FTPRemotePort Property
The port for the FTP service (default is 21).
Syntax
ANSI (Cross Platform) int GetFTPRemotePort();
int SetFTPRemotePort(int iFTPRemotePort); Unicode (Windows) INT GetFTPRemotePort();
INT SetFTPRemotePort(INT iFTPRemotePort);
@property (nonatomic,readwrite,assign,getter=FTPRemotePort,setter=setFTPRemotePort:) int FTPRemotePort; - (int)FTPRemotePort; - (void)setFTPRemotePort:(int)newFTPRemotePort;
#define PID_CHECK21_FTPREMOTEPORT 39 INPAY_EXTERNAL void* INPAY_CALL InPay_Check21_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INPAY_EXTERNAL int INPAY_CALL InPay_Check21_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
21
Remarks
The port for the FTP service (default is 21). A valid port number (a value between 1 and 65535) is required for the connection to take place. The property must be set before a connection is attempted and cannot be changed once a connection is established. Any attempt to change this property while connected will fail with an error.
This property is not available at design time.
Data Type
Integer