Kitto.Html.Files
Download and upload file controllers for KittoX HTML pipeline. Replaces TKExtDownloadFileController and TKExtUploadFileController from Kitto.Ext.Files.
TKXDownloadFileController class
pascal
procedure AfterConstruction;Creates the internal list of temporary file names.
pascal
destructor Destroy;Deletes temporary files and frees the pending stream.
pascal
class function GetDefaultImageName: string;The default icon name for this controller's tool button.
pascal
procedure ExecuteToFile(const ADirectory: string;Runs the tool in background/file mode: produces the artifact into ADirectory (no HTTP response is touched, so it is safe to call from a job worker thread) and returns the produced file's full path, client file name and content type. Used for tools declared with RunMode: Background.
TKXUploadFileController class
pascal
procedure AfterConstruction;Creates the internal list of temporary file names.
pascal
destructor Destroy;Deletes temporary files created during the upload.
pascal
class function GetDefaultImageName: string;The default icon name for this controller's tool button.
