PDA

View Full Version : command line xml tag for number of connections?



hhwh
03-15-2011, 04:21 PM
is there an xml tag to set the number of connections?
it seems that different servers allow different numbers of simultaneous connections.
it would be great to be able to set that via a command line xml tag. then my software can set it depending on the server i am connecting...

Peter
03-15-2011, 04:33 PM
There is an xml tag <splits> that allows you to specify the number of requests used for that download job, this only limits the number of connections to the server for that job. To make a global rule to limit the number of connections to a server you need to go to 'Tools->Options->Site Rules'.

<splits>10</splits>

hhwh
03-15-2011, 04:38 PM
perfect. i don't want to change the global setting, only for the particular job.
could you pls post a list of the main xml tags? i have the feeling there might be more useful ones.

you wanted to document them anyways (as was promised quite a while ago). now's as good a time as any, don't you think? :-)

Peter
03-16-2011, 08:17 AM
The main xml tags are:
<type>
<url>
<url_list_file>
<referer>
<user_agent>
<file>
<folder>
<username>
<password>
<comment>
<keywords>
<user_agent>
<synchronize>
<change_extension>
<create_sub_folder>
<category>
<create_sub_category>
<auto_categorize>
<priority>
<keep_retrying>
<max_error_retries>
<retry_delay>
<connection_timeout>
<receive_timeout>
<splits>
<post_data>
<cookie>

You can see examples of these if you export a job from the job list using the 'File->Export' menu.