Tips and Frequently Asked Questions
Download files only when newer version than local copy is available
With TWebCopy, the component to upload or download files via HTTP / FTP, it is easy to instruct the component to only start a download when a newer file version is available online. To do this, all that needs to be done is set the option WebCopyItem.CopyNewerOnly = true and set the date to check against via WebCopyItem.FileDate. In this case, we’d set this date to the local file date:
procedure TForm5.CheckAndDownloadNewDoc; var wci: TWebCopyItem; begin WebCopy1.Items.Clear; wci := WebCopy1.Items.Add; wci.URL := 'https://download.tmssoftware.com/download/manuals/TMS%20Spell%20Check.pdf'; wci.CopyNewerOnly := true; wci.FileDate := FileAge(''c:\Doc\TMS%20Spell%20Check.pdf''); wci.TargetDir := ''c:\doc''; WebCopy1.Execute; if wci.NoNewVersion then ShowMessage(''No new version found'') else ShowMessage(''New file from ''+DateToStr(wci.NewFileDate) + '' found''); end;
Pricing
Single Developer License
Small Team License
Site License
TMS VCL UI Pack
€ 375
€
150
yearly renewal
license for 1 developer
MOST POPULAR
BEST VALUE
All prices excl. VAT. Renewal price is subject to change and only valid up to 30 days after license has expired. After renewal period a discount price is offered to renew the license.
Free Trial
Note that the TMS VCL UI Pack replaces the TMS Component Pack. Both products can't be installed simultaneously. Therefore TMS Component Pack must first be uninstalled before installing the TMS VCL UI Pack