Jump to content
uniGUI Discussion Forums

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);
  form_pdf: Twndpdf_test;
  if UnimList1.ItemIndex >= 0 then
    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

but unigui put the server name in front


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