limit Number of bytes which need to be downloaded starting from the "offset" position before the download will automatically be canceled; use 0 to download without a limit
priority Priority of the download (1-32). The higher the priority, the earlier the file will be downloaded. If the priorities of two files are equal, then the last one for which downloadFile was called will be downloaded first
synchronous If false, this request returns file state just after the download has been started. If true, this request returns file state only after. the download has succeeded, has failed, has been canceled or a new downloadFile request with different offset/limit parameters was sent