Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web:file [2019/06/06 20:47]
agcyphers [Methods]
web:file [2019/12/02 20:24] (current)
agcyphers [Methods]
Line 13: Line 13:
 ==== Methods ==== ==== Methods ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
-| Constructor( FileName as [[http://​developer.xojo.com/​string|String]], FileType as [[http://​developer.xojo.com/​string|String]], FileSize as [[http://​developer.xojo.com/​integer|Integer]], FileData as [[http://​developer.xojo.com/​string|String]] ) | Creates an instance of the class with the parameters as properties. | +| Constructor( FileName as String, FileType as String, FileSize as Integer, FileData as String ) | Creates an instance of the class with the parameters as properties. | 
-| SaveTo(f as [[http://​developer.xojo.com/​folderitem|FolderItem]], Overwrite as Boolean = False) as FolderItem | Will save the file to the location of your choosing on the server. Returns the final save path. If Overwrite = True then the file name will be appended with numbers based on the currently existing files in the directory, such as ''​filename-1.png''​. |+| SaveTo(f as FolderItem, Overwrite as Boolean = True) as 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''​. |
  
 ==== Properties ==== ==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
-| Data | [[http://​developer.xojo.com/​string|String]] | ""​ | The Base64 encoded data of the file. | +| Data | String | ""​ | The Base64 encoded data of the file. | 
-| Name | [[http://​developer.xojo.com/​string|String]] | ""​ | The file's name. | +| Name | String | ""​ | The file's name. | 
-| Size | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The total file size. | +| Size | Integer | 0 | The total file size. | 
-| Type | [[http://​developer.xojo.com/​string|String]] | ""​ | The mime type of the uploaded file. |+| Type | String | ""​ | The mime type of the uploaded file. |
  
 ==== Examples ==== ==== Examples ====