Creates new upload handler to allow large file uploads in chunks.

Syntax

Visual Basic (declaration)
Public Function CreateUploadHandler( _ 
ByVal AuthenticationTicket as String, _ ByVal PreferedChunkSize as Integer) as XmlNode

C# (declaration)
public XmlNode CreateUploadHandler( 
string AuthenticationTicket, int PreferedChunkSize)

Parameters

AuthenticationTicket
    string infoRouter ticket
PreferedChunkSize
    int The size of the upload chunks in bytes.

Return Value

returns xml fragment.
<response success="true" error="" UploadHandler="ir117" ChunkSize="5000" />

if success attribute is "true", the upload handler has been created.
Use the Uploadhandler attribute for uploads,
use the ChunkSize attribute while uploading chunks.

if success attribute is "false", the error attribute indicates the encountered error.

Remarks


The returned ChunkSize might be different than the prefered chunksize.
Server might not accept big chunks sizes. Use the returned chunksize.