I don't know, if, what I'm asking for, it is possible, but anyway, here I go:
I have the following code that uses Inno Download Plugin:
procedure CurPageChanged(CurPageID: Integer);
begin
if CurPageID = wpReady then
begin
idpClearFiles;
if IsComponentSelected('src') then
begin
idpAddFile(
'https://cool-opensource-project.googlecode.com/files/prj-sources-1.2.3.zip',
ExpandConstant('{tmp}\src.zip'));
end;
end;
end;
and I'd like to check, if the file is already downloaded in a folder before downloading it again, and if it is not, to download it.
Thanks in advanced.