OFTPConnectionDownloadDirectory Property
The directory to which files will be saved.
Syntax
ANSI (Cross Platform) char* GetOFTPConnectionDownloadDirectory(int iConnectionId);
int SetOFTPConnectionDownloadDirectory(int iConnectionId, const char* lpszOFTPConnectionDownloadDirectory); Unicode (Windows) LPWSTR GetOFTPConnectionDownloadDirectory(INT iConnectionId);
INT SetOFTPConnectionDownloadDirectory(INT iConnectionId, LPCWSTR lpszOFTPConnectionDownloadDirectory);
- (NSString*)OFTPConnectionDownloadDirectory:(int)connectionId; - (void)setOFTPConnectionDownloadDirectory:(int)connectionId:(NSString*)newOFTPConnectionDownloadDirectory;
#define PID_OFTPSERVER_OFTPCONNECTIONDOWNLOADDIRECTORY 11 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_OFTPServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPServer_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
The directory to which files will be saved.
This specifies the directory where files received by the server will be saved.
This must be set before the client begins sending files. Set this in the Connected, AcceptConnection, or ConnectionRequest events, for instance:
oftpserver1.SetOFTPConnectionDownloadDirectory(123456789, "C:\\Downloads");
The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the OFTPConnectionCount property.
This property is not available at design time.
Data Type
String