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 [2019/12/02 20:23]
agcyphers [Methods]
web:file [2019/12/02 20:24] (current)
agcyphers [Methods]
Line 14: Line 14:
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
 | Constructor( FileName as String, FileType as String, FileSize as Integer, FileData as 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 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 = False 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 ====