WebForm.Download (gb.web.form)

Static Sub Download ( Path As String [ , ContentType As String, Remove As Boolean ] )

Start a file download.

  • Path is the path of the file on the server.

  • ContentType is the mime type of the file. If not specified, it will deducted from the file extension.

  • Remove is an optional boolean argument that specifies if the file should removed from the server once it is downloaded.