IAdminUploadsClient Interface

Provides access to properties and members the uploads client object.

Members

Name Description
Method AdminCommit Commits a registered upload item.
Method AdminDelete Deletes the upload item.
Method AdminGetPartNumbers Returns the numbers of the parts that have already been uploaded for the upload item.
Method AdminRegister Instruct the server to reserve space for a new upload item, to be uploaded in parts.
Method AdminUploadFile Uploads a file to the server without breaking it into parts.
Method AdminUploadPart Uploads a part for the upload item.
Method GetUploadItem Returns the upload item with the given itemID.
Method GetUploadItems Returns all uploaded items.

IAdminUploadsClient.AdminCommit Method

Commits a registered upload item.

Public Sub AdminCommit ( _
    ByVal pUploadItem As IUploadItem, _
    ByVal pPartNumbers As ILongArray _
)
public void AdminCommit (
    IUploadItem pUploadItem,
    ILongArray pPartNumbers
);

IAdminUploadsClient.AdminDelete Method

Deletes the upload item.

Public Sub AdminDelete ( _
    ByVal pUploadItem As IUploadItem _
)
public void AdminDelete (
    IUploadItem pUploadItem
);

IAdminUploadsClient.AdminGetPartNumbers Method

Returns the numbers of the parts that have already been uploaded for the upload item.

Public Function AdminGetPartNumbers ( _
    ByVal pUploadItem As IUploadItem _
) As ILongArray
public ILongArray AdminGetPartNumbers (
    IUploadItem pUploadItem
);

IAdminUploadsClient.AdminRegister Method

Instruct the server to reserve space for a new upload item, to be uploaded in parts.

Public Function AdminRegister ( _
    ByVal itemName As String, _
    ByVal Description As String _
) As IUploadItem
public IUploadItem AdminRegister (
    string itemName,
    string Description
);

IAdminUploadsClient.AdminUploadFile Method

Uploads a file to the server without breaking it into parts.

Public Function AdminUploadFile ( _
    ByVal file As String, _
    ByVal Description As String _
) As IUploadItem
public IUploadItem AdminUploadFile (
    string file,
    string Description
);

IAdminUploadsClient.AdminUploadPart Method

Uploads a part for the upload item.

Public Sub AdminUploadPart ( _
    ByVal pUploadItem As IUploadItem, _
    ByVal file As String, _
    ByVal uploadPartNumber As Integer, _
    ByVal offset As Long, _
    ByVal bytesToWrite As Integer _
)
public void AdminUploadPart (
    IUploadItem pUploadItem,
    string file,
    int uploadPartNumber,
    ulong offset,
    int bytesToWrite
);

IAdminUploadsClient.GetUploadItem Method

Returns the upload item with the given itemID.

Public Function GetUploadItem ( _
    ByVal ItemID As String _
) As IUploadItem
public IUploadItem GetUploadItem (
    string ItemID
);

IAdminUploadsClient.GetUploadItems Method

Returns all uploaded items.

Public Function GetUploadItems ( _
) As IEnumUploadItem
public IEnumUploadItem GetUploadItems (
);

Classes that implement IAdminUploadsClient

Classes Description
UploadsClient The uploads client object.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.