UploadBinary

Build 1501 on 14/Nov/2017  This topic last edited on: 10/Oct/2014, at 16:53

 VERSION 2.1 OR NEWER 

Description

Upload generic binary data (images, video, etc). REST.

Syntax

http://localhost/GNWeb/webdo.ashx?cmd=uploadBinary

Parameters

string siteName

string fileName,

byte[] data (send by POST request)

Return

string

 

 VERSION 2.0 OR OLDER

Description

Upload generic binary data (images, video, etc). SOAP

Syntax

string res = UploadBinary(string siteName, string fileName, byte[] data)

Parameters

siteName = Kentico site name where to upload objects

fileName = name of the object to create

data = binary data of the object

res = error message or empty if all ok