FileUploaderPostData Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Handles an uploaded file and saves it to Content Studio.

Namespace: ContentStudio.Site
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public bool PostData(
	out int documentId,
	out string fileName,
	out int fileSize,
	out string description,
	out string documentName,
	out string tempFileName,
	out string contentType,
	out bool isPost,
	out bool mustConfirm
)

Parameters

documentId
Type: SystemInt32
The document ID
fileName
Type: SystemString
The file name
fileSize
Type: SystemInt32
The file size
description
Type: SystemString
The description of the file
documentName
Type: SystemString
The name of the document
tempFileName
Type: SystemString
The name of the temporary file
contentType
Type: SystemString
The content type
isPost
Type: SystemBoolean
A value indication the post mechanism
mustConfirm
Type: SystemBoolean
A value indication the confirmation mechanism

Return Value

Type: Boolean
Returns true if the posting was successful, false otherwise.
Remarks

This is an internal method to be used only by the Upload file component.
See Also

Reference