Internet Direct (Indy)
Home
PreviousUpNext
TIdFormDataField.FileName Property

File name used to load content for the form data field.

Pascal
property FileName: string;

FileName is a string property that indicates the file name to use as the source of form data field contents that represent file to be uploaded in an HTTP GET or POST request. Changing the value in FileName causes the FieldSize property to be recalculated and updated. 

FileName is used when TIdMultiPartFomDataStream.AddFile is called to create a new form data field.

TIdFormDataField.FileSize 

TIdFormDataField.FileStream 

TIdMultiPartFomDataStream.AddFile

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.