DataPortRangeTo Property
Specifies the upper port range bound for passive mode data connections.
Syntax
ANSI (Cross Platform) int GetDataPortRangeTo();
int SetDataPortRangeTo(int iDataPortRangeTo); Unicode (Windows) INT GetDataPortRangeTo();
INT SetDataPortRangeTo(INT iDataPortRangeTo);
@property (nonatomic,readwrite,assign,getter=dataPortRangeTo,setter=setDataPortRangeTo:) int dataPortRangeTo; - (int)dataPortRangeTo; - (void)setDataPortRangeTo:(int)newDataPortRangeTo;
#define PID_FTPSERVER_DATAPORTRANGETO 13 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_FTPServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_FTPServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
Use this property in combination with DataPortRangeFrom to limit the port range for passive mode data connections. The value of 0 (zero) stands for no upper bound.
Data Type
Integer