Concept Framework 1.0 documentation Contents | Index

CApplication.SendFile

Name Type Access Version Deprecated
SendFile function static version 1.0 no

Prototype:
static function SendFile(FileName, Content, DialogTitle="Save file", FileType="All files|*;Images|*.jpg;")

Parameters:
FileName      the recommended file name
Content      the content of the file
DialogTitle      the title of the dialog
FileType      a string containing the desired file types in the form "Display type|extension;Dysplay type2|extension;..."

Description:
Sends a file to the client. The use will be prompted to accept the file, and selects its name and location.

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

Documented by Eduard Suica, generation time: Thu Oct 15 20:02:00 2009 GMT(c)2009 RadGs Software