CApplication.RequestFile


static function RequestFile

Prototype:

static function RequestFile(var FileName, var Content, DialogTitle="Open file", FileType="All files|*;Images|*.jpg;");

Parameters

FileName
(out) the filename of the received file
Content
(out) the content of the received file
DialogTitle
(in) the title of the dialog
FileType
a string containing the desired file types in the form "Display type|extension;Dysplay type2|extension;..."

Description:

Request a file from the client machine. The user will be prompted to select a file to be sent to the application server.

Return value:

Returns true if a file was received, or false if the user canceled the operation.