Topic Path: Symbol Reference > Classes > TIdFormDataField Class > TIdFormDataField Properties > FileName Property
ContentsIndexHome
PreviousUpNext
TIdFormDataField.FileName Property

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

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

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.