Give Us a Free Call: +1-877-99-BOPUP (877-992-6787)

FILE_INFO_STRUCT structure

This is a helper structure contains information on incoming or outgoing files.

typedef struct _FILE_INFO_STRUCT {     char lpszTransferKey[UNIQUE_KEY_LENGTH + 1];     DWORD dwFileSize;     BYTE iFileOffset;     INT nDirCount;     INT nFileCount;     char lpszFileName[255 + 1]; } FILE_INFO_STRUCT;

Members

lpszTransferKey
Contains a unique transfer key. This member is filled if IServerClient::SendFileRequest method returns a success result or when new incoming file transfer is received via NOTIFY_NEW_TRANSFER notification that is sent in the form of WM_NOTIFY_SERVER message. This value can be used to identify each file transfer in the application.
dwFileSize
Size of the files and/or directories. This member is valid only for incoming file transfers.
iFileOffset
Not used in this version of the SDK.
nDirCount
Count of directories within transmitted file list.
nFileount
Count of files within transmitted file list.
lpszFileName
Contains a file/directory name if a single object is transferred or this member contains an array of files/folders separated by commas if multiple objects are transferred. The member is valid for incoming file transfer.