FileName property
|
auHTTP 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.
|
|
If you would like to specify the target file for downloaded data use OutputFileName property.
|
auHTTP1.URL := 'http://www.abc.com/download/filename.zip';
|
Result := auHTTP1.FileName;
|
// Result will be 'filename.zip';
|
URL, HostName and OutputFileName properties.
|