FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper How to open file in specificatio IP instead of Drive Letter
Posts: 155
Joined: Tue Dec 30, 2008 03:07 AM
How to open file in specificatio IP instead of Drive Letter
Posted: Fri Oct 07, 2005 05:20 PM

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

Posts: 155
Joined: Tue Dec 30, 2008 03:07 AM
remote access dbf over IP address
Posted: Sat Oct 08, 2005 08:21 PM

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

Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
How to open file in specificatio IP instead of Drive Letter
Posted: Sun Oct 09, 2005 01:32 PM

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

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
I works great. Can I open with public (internet) IP?
Posted: Thu Oct 13, 2005 10:13 AM

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

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Thanks
Posted: Fri Oct 14, 2005 09:43 AM

Thanks tnhoe, I will try it.

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion