Concept Framework 2.0 documentation Contents | Index

CApplication.RequestFile

Name Type Access Version Deprecated
RequestFile function static version 1.0 no

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.

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

Documented by Eduard Suica, generation time: Fri Jan 21 18:06:15 2011 GMT(c)2011 RadGs Software