LONG AddTask(

    BSTR bstrReferrer,

    BSTR bstrURL,

    BSTR bstrComment,

    BSTR bstrDestinationDirectory,

    BSTR bstrFilename,

    BSTR bstrUsername,

    BSTR bstrPassword,

    DWORD nStartMode,

    BSTR bstrScheme,

    DWORD nThreads

);

Parameters

nStartMode

0 - Manually; 1 - Instantly.

bstrScheme

Use your predefined settings in "Scheme" of task dialog. If it was not in "Scheme" list, Net Transport will use the default settings.

nThreads

The number of threads.

Return Values

Ignore.

Sample

<script language = "JavaScript">

var NXIECatcher = new ActiveXObject("NXIEHelper.NXIEAddURL");

if (NXIECatcher)

    NXIECatcher.AddTask("http://xi/", "http://www/site/", "you", "e:\\Folder", "", "qwe", "", 0, "torrent", 3);

</script>