|  | This document is archived and information here might be outdated. Recommended version. | 
Uploads data to server and saves it as a file in the input directory of the given configuration.
[Visual Basic .NET]
Public Sub UploadData ( _
    ByVal cfgName As String, _
    ByVal cfgType As String, _
    ByVal fileName As String, _
    ByRef data As Byte[]& _
)
[C#]
public void UploadData (
    string cfgName,
    string cfgType,
    string fileName,
    ref Byte[]& data
);
[C++]
HRESULT UploadData(
  BSTR cfgName,
  BSTR cfgType,
  BSTR fileName,
  SAFEARRAY(System.Byte)* data
);
[C++] Parameters cfgName [in]
cfgName is a parameter of type BSTR cfgType [in]
cfgType is a parameter of type BSTR fileName [in]
fileName is a parameter of type BSTR data [in]
data is a parameter of type SAFEARRAY(unsigned char)*