How to open a document remotely?

Questions, tips and tricks and techniques for scripting in Servoy

How to open a document remotely?

Postby maria » Thu Jun 25, 2009 1:37 am

We used application.showURL("file:///D:/folder/doc.pdf"); to open a document locally but the user will want to open a document which is on a server remotely. How do we do that? Please, help.

Kind Regards,
Maria
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney

Re: How to open a document remotely?

Postby patrick » Thu Jun 25, 2009 8:59 am

You could have a look at our UserManager plugin. That gives you access to the server's file system from a client. You can transfer the file to the client, write it to a tmp file and open it locally.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany


Return to Methods

Who is online

Users browsing this forum: No registered users and 36 guests