autoupgrader OnFileDone event
Return to Introduction  Previous page  Next page
Applies to
auAutoUpgrader component.  

  TauAUFileDoneEvent = procedure(Sender: TObject;  
     FileURL: Stringof object;  
property OnFileDone: TauAUFileDoneEvent;  

The OnFileDone event occurs when AutoUpgrader successfully downloaded one file from the queue. The FileName parameter is the path and the file name where the file has been stored after downloading.  
tip To get all files which should to be updated — use Files parameter in the OnBeginUpdate event handler. If you wish to hook the event when the file is about to be downloaded and decide whether you really want to download it — use OnFileStart event.  

See also
OnFileStart, OnBeginUpgrade, OnEndUpgrade and OnProgress events.