GraffitiWebFile

Enumerations #

Name Values
This class exposes no enumerations.

Constants #

Name Type Value
This class exposes no constants.

Events #

Definition Description
This class exposes no events.

Methods #

Definition Parameters Return Type Description
Constructor FileName as String None Creates an instance of the class with the parameters as properties.
FileType as String
FileSize as Integer
FileData as String
Constructor ID as String None Creates an instance of the class with the parameters as properties.
FileName as String
FileType as String
FileSize as Integer
FileData as String)
SaveTo f as FolderItem FolderItem Will save the file to the location of your choosing on the server. Returns the final save path. If Overwrite = False then the file name will be appended with numbers based on the currently existing files in the directory, such as filename-1.png. Returns Nil when an error is encountered.
Overwrite as Boolean = True

Properties #

Name Type Default Value Description
Data String “” The Base64 encoded data of the file.
Name String “” The file’s name.
Path FolderItem Nil Path to the file to be written.
Size Integer 0 The total file size.
Type String “” The mime type of the uploaded file.

Examples #

There are currently no examples for this class.