1

Topic: variable

Hi


I have these lines in my script for a connection test form

now the testfile apperas on the desktop where the portable compacted application is executed

whar would be the variable to send this file to temp or anywhere on disk C:?


procedure Form3_checkserver_OnClick (Sender: TObject; var Cancel: boolean);
var
    test : boolean;
begin
    try
        test := HTTPGetFile('htxx://test.com/onlinetest.zip','testfile');
        Form3.serverok.Visible := test;
        Form3.servererr.Visible := not test;
    except
        showmessage('ere');
        Form3.serverok.Visible := False;
        Form3.servererr.Visible := True;
    end;

end;


thx !

2

Re: variable

'C://testfile');     ?

3

Re: variable

'C:\ProgramData\testfile');

this worked

lol