http FileName property
Return to Introduction  Previous page  Next page
Applies to
auHTTP component.  

Declaration
property FileName: Boolean; // Read-only !!  

Description
The FileName is optional and read-only property used to exctract the file name from the HTTP address specified in the URL property.  
 
tip If you would like to specify the target file for downloaded data — use OutputFileName property.  

Example
auHTTP1.URL := 'http://www.abc.com/download/filename.zip';  
Result := auHTTP1.FileName;  
// Result will be 'filename.zip';  

See also
URL, HostName and OutputFileName properties.  
File not found.