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

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

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.  

WinHTTP1.URL := '';  
Result := WinHTTP1.FileName;  
// Result will be '';  

See also
URL, HostName and OutputFileName properties.