Remoteforms and opening a file on client
Vik Shah
Vik at mystrata.com.au
Mon Jan 25 17:25:04 EST 2010
Brian,
If you want to open a file from the server onto the client, you can do it in
one of the two ways...
1. Have a CGI script that can read the file from a path and push the path to
the client in a popup ($cinst.$showurl())
2. Download the file back onto the client (in a temp folder, that you can
get with one of the notations) and then issue the following...
$cinst.$objs.FromFile.$osoperation("c:\MyTextFile.txt",'open','FALSE')
There is a technote article
1. http://dlagroup.com.au/techbytes-1.htm
2. http://www.omnis.net/technotes/index.html?detail=tnwe0017
They should help.
Vik Shah
On 26/01/10 4:06 AM, "Brian" <brian at wayne-enterprises.net> wrote:
> I'm using studio 4.3.1 and have a remote form that allows the client to
> upload a file on the server. I'm also trying to allow the client to open
> the same saved file from the server on the client but it seems to open on
> the server instead.
>
> Anyone have any experience with this?
>
> Thanks to those who respond.
>
> Brian Germann
> Wayne Enterprises
> Linden, CA
> 209-887-2008
> mailto:Brian at 911revolution.com
> http://www.revolution911.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list