Name Property


Returns name of form's <input type=file> element used for selecting a file to upload (e.g. myFile in <input type=file name=myFile>).
Note: To get actual filename of the file have been uploaded, use Filename property.


Value Type: String
Parameters: None 
Remarks:

This property is read-only


Usage example:

' This sample writes the names of all file elements in the collection

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

See Also:

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


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