I'm using the following code to access my site.
with TDownloadURL.Create(self) do try URL:='http://www.mysite.com/latestversion.txt'; FileName := 'D:\latestversion.txt'; OnDownloadProgress := URL_OnDownloadProgress; ExecuteTarget(nil) ; finally Free; end;
However, whenever I execute this piece of code my stupid firewall (Norton) not only stops it running but also deletes the executable without any input from me.
I wouldn't mind if it simply asked if my app is allowed to access the internet but no, it simply deletes it, crashing Delphi in the process.
Is there anyway to get around this? For example, FileZilla doesn't seem to have any problems when I use its 'check for updates' feature. What is FileZilla doing to placate Norton that I'm not?
Any help would be greatly appreciated