Page 1 of 1

How to open file in specificatio IP instead of Drive Letter

PostPosted: Fri Oct 07, 2005 5:20 pm
by Dutch
Dear All,

How can I open file with IP address such as \\192.168.0.1\data\test.dbf ?
Can we map network driver in VPN?

Thanks,
Dutch

remote access dbf over IP address

PostPosted: Sat Oct 08, 2005 8:21 pm
by tnhoe
Hi,

You can do this :-

- install web server (eg: Apache,IIS, Fivewin web server)
- install xBase plugin which support Clipper/Foxpro commands (eg: AFP or others)
- write html script in html+javascript+Clipper/Foxpro to update dbf/cdx

The speed depands on line connection and the server pc.

Regards
tnhoe

PostPosted: Sun Oct 09, 2005 1:32 pm
by Jeff Barnes
Dutch,

I do this in one of my apps. I have a config file with the IP address for a certain PC then I just do the following:

cFile := "\\"+alltrim(config->cIP)+"\myDir\Text.dbf"
USE &cFile SHARED NEW ALIAS "PCserver"

Hope this helps,

Jeff

I works great. Can I open with public (internet) IP?

PostPosted: Thu Oct 13, 2005 10:13 am
by dutch
Dear Jeff,

I try to open with local IP, it works great but I cannot open with public IP (internet). Can I do it? If so, how?

Thanks&regards,
Dutch

Thanks

PostPosted: Fri Oct 14, 2005 9:43 am
by dutch
Thanks tnhoe, I will try it.

Regards,
Dutch