host and size

Top  Previous  Next

 

Description:

 

Host defines the URL of the data file to be downloaded and the size refers to the filesize in byte. The upload size is determined by the download size, i.e. if you have defined a 80 KB file for download, you can choose the  80 KB sample data for upload.

 

Syntax:

 

hostx: x, integer >= 1, value defines full URL in string (with http://)

sizex: x, integer >= 1, value defines file size in bytes

 

Notes:

 

Parameters host and size have to use in pair.

For both download and upload to us, it is mandatory to define in the HTML.

 

Example:

 

<param name="host1" value="http://servername/download/150KB_photo.jpg">

<param name="size1" value="150286">

 

<param name="host2" value="http://servername/download/500KB_photo.jpg">

<param name="size2" value="519658">

 

<param name="host3" value="http://servername/download/001MB_photo.jpg">

<param name="size3" value="1090681">

 

<param name="host4" value="http://servername/download/003MB_photo.tif">

<param name="size4" value="3167484">

 

<param name="host5" value="http://servername/download/015MB_photo.tif">

<param name="size5" value="15468724">

 

When you launch SpeedCheck, you should see this:

 

sc_param_reference_host_size