Hi all.
I have been tasked with creating a custom extension for chrome and integrating DownloadStudio into it. Using the extension provided by Conceiva as a example I have successfully implemented the basic functionality. An example XML script as follows
Code:
<downloadstudio>
<originator>chrome</originator>
<script>
<add_jobs display_dialog="yes">
<joblist>
<job type="file">
<url>http://server.domain/files/example.zip</url>
<user_agent>Chrome/00.0.000.000 Safari/000.0</user_agent>
</job>
</joblist>
</add_jobs>
</script>
</downloadstudio>
Due to various reason I won't got into here I have been asked if it is possible to implement additional options such as specifying the default download location and a few other thing. After exporting a list of currently active jobs I find that the xml file contains the following additional options:
Code:
<downloadstudio>
<originator />
<script>
<add_jobs>
<joblist>
<job>
<auto_categorize />
<change_extension />
<comment />
<connection_timeout />
<cookie/>
<create_sub_category />
<create_sub_folder />
<file />
<folder />
<keep_retrying />
<keywords />
<max_error_retries />
<originator />
<password />
<post_data />
<priority />
<receive_timeout />
<referer />
<retry_delay />
<splits />
<synchronize />
<type />
<url />
<user_agent />
<username />
</job>
</joblist>
</add_jobs>
</script>
</downloadstudio>
After attempting to implement the majority of these options (one at a time) my custom extension fails to start downloading as well as no stating any error response.
So what I was hoping is that there may be some documentation from which these options are explained and how to implement them?
Thanks for taking the time to read and any help would be appreciated.
Andronics
Bookmarks