C++
virtual BOOL BeginDownloadFiles( CStringArray& strURLs, CDWordArray& dwActionCodes );
Description
Downloads remote files. Called at the start of a remote file download operation. Returns true on success and falser on failure. Override this function to initialize any application-specific remote download operations.
The valid action codes for the dwActionCodes array are as follows:
Code | Value |
---|---|
ACEDINET_VALIDATE_URL | 0x1 |
ACEDINET_DOWNLOAD_FILE | 0x2 |
ACEDINET_UPLOAD_FILE | 0x4 |
ACEDINET_IGNORE_CACHE | 0x8 |
ACEDINET_SINGLE_FILE_TRANSFER | 0x10 |
ACEDINET_NO_TRANSFER_DLG | 0x20 |
ACEDINET_STOP_ON_ERROR | 0x40 |
ACEDINET_KEEP_CACHE | 0x80 |
ACEDINET_WEBDAV_TRANSFER | 0x100 |
ACEDINET_OPEN_CONNECTION | 0x200 |
Parameters
Parameters | Description |
---|---|
strURLs | Array of target URLS to download |
dwActionCodes | Array of action codes corresponding to the URLs in strURLs |