Jump to content
uniGUI Discussion Forums
FFREDIANELLI

How to access a PDF network file ?

Recommended Posts

Some help please...

I need to access a pdf file that is in a network server, i created an alias in apache, 

i can access from the browser the file needed it open ok , to test in unigui i changed the  unigui demo pdf

procedure TMainmForm.UnimBitBtn3Click(Sender: TObject);
var
  form_pdf: Twndpdf_test;
begin
  if UnimList1.ItemIndex >= 0 then
  begin
    form_pdf := Twndpdf_test.Create(UniApplication);
 //   form_pdf.PDfFile := 'pdfs/' + UnimList1.Text; <-----changed to 
    form_pdf.PDfFile := 'https://servidor.pmfezer.com.br/yyy/xxxxx.pdf'; <---- this
    form_pdf.Show;
  end;
end;

but unigui put the server name in front

image.thumb.png.0fa467d4a7712a8ae1fb8888b719a27c.png

how to remove this http://localhost... just for the moment of opening this pdf, because all the others files he need to continue saving on /files...

Thanks in advance for any help provided.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×