[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 UpDownLoad..::.UploadStatus Upload(
	HttpPostedFile pFile,
	string dirPath
)
Visual Basic (Declaration)
Public Shared Function Upload ( _
	pFile As HttpPostedFile, _
	dirPath As String _
) As UpDownLoad..::.UploadStatus
Visual C++
public:
static UpDownLoad..::.UploadStatus Upload(
	HttpPostedFile^ pFile, 
	String^ dirPath
)

Parameters

pFile
Type: System.Web..::.HttpPostedFile
The posted file
dirPath
Type: System..::.String
The directory where the file is stored on the server

Return Value

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

See Also