Differences

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

Link to this comparison view

Both sides previous revision Previous revision
web:file [2018/04/14 16:09]
127.0.0.1 external edit
web:file [2019/06/06 20:47] (current)
agcyphers [Methods]
Line 14: Line 14:
 ^ 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 [[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. |
-| SaveTo(f as [[http://​developer.xojo.com/​folderitem|FolderItem]]) | Will save the file to the location of your choosing on the server. |+| SaveTo(f as [[http://​developer.xojo.com/​folderitem|FolderItem]], Overwrite as Boolean = Falseas 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''​. |
  
 ==== Properties ==== ==== Properties ====
  • Last modified: 3 weeks ago
  • by agcyphers