How to open file in specificatio IP instead of Drive Letter

Post Reply
Dutch

How to open file in specificatio IP instead of Drive Letter

Post 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
tnhoe

remote access dbf over IP address

Post 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
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post 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
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

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

Post 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
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Thanks

Post by dutch »

Thanks tnhoe, I will try it.

Regards,
Dutch
Post Reply