RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDownLoadURL Class

TDownLoadURL is the standard action for saving the contents of a specified URL to a file.

Pascal
TDownLoadURL = class(TURLAction, IBindStatusCallback);
C++
class TDownLoadURL : public TURLAction, public IBindStatusCallback;

ExtActns

Add TDownLoadURL to an action manager or action list to let your application save the contents of a specified URL to a file. Controls linked to this action cause the application to lookup the resource specified by the URL property and save it to the file specified by the Filename property. While TDownLoadURL is writing to the specified file, it periodically generates an OnDownloadProgress event, so that you can provide users with feedback about the process. 

You should assign a value to the URL property and to the FileName property before the user invokes this action. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!