Lmao Junkj.
Use your script to download it from a link? You could use a Google Code SVN to host it.
SCAR Code:
// Not sure where this was from
function Download(URL, WhereTo: string; Shared: Boolean): Boolean;
var
theFile: Integer;
fileData: string;
begin
theFile := ReWriteFile(WhereTo, Shared);
if theFile > -1 then
begin
fileData := GetPage(URL);
if fileData <> '' then
if WriteFileString(theFile, fileData) then
Result := True;
end;
end;
function DownloadIncludes: Boolean;
var
i: Integer;
Path: string;
URL: array [0..1] of array [0..1] of string;
begin
Path := ScriptPath;
URL[0][0] := 'http://someproject.googlecode.com/svn/trunk/Includes/bg.bmp';
URL[0][1] := Path + 'bg.bmp';
for i := 0 to 1 do // # of files
begin
WriteLn('Downloading include ' + IntToStr(i + 1));
Writeln(URL[i][1]);
if not Download(URL[i][0], URL[i][1], True) then
begin
ClearDebug;
WriteLn('COULD NOT UPDATE INCLUDES');
WriteLn('Check your Firewall Settings');
Result := False;
Exit;
end else
Result := True;
end;
if Result then
Writeln('Update Successful')
else
Writeln('update Failed');
end;