Filename Property


Returns name of the file selected in the file element.


Value Type: String
Parameters: None 
Remarks:

This property is read-only


Usage example:

' This sample writes the names of all files in the collection

<% Set Uploader = Server.CreateObject("MailBee.Uploader")
Uploader.ParseRequest Request.BinaryRead(Request.TotalBytes)
For Each File in Uploader.FormFiles
   Response.Write File.Filename
   Response.Write ";"
Next %>

See Also:

FormElements Collection | FormFiles Collection | FormElement Object | FormFile Object | Uploader Object


Copyright © 2002-2022, AfterLogic Corporation. All rights reserved.