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

Uploads the posted file on the OfficeClip server.

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static int UploadAs(
	HttpPostedFile pFile,
	string filePath
)
Visual Basic (Declaration)
Public Shared Function UploadAs ( _
	pFile As HttpPostedFile, _
	filePath As String _
) As Integer
Visual C++
public:
static int UploadAs(
	HttpPostedFile^ pFile, 
	String^ filePath
)

Parameters

pFile
Type: System.Web..::.HttpPostedFile
The posted file.
filePath
Type: System..::.String
The full pathname of the file.

Return Value

Return message, 0 - Successful 1 - Saving to server failed 2 - Client file not accessible 3 - Empty Posted File

See Also