Open a DBF database from a NAS without mapping the drive

231 views
Skip to first unread message

Zoran Sibinovic

unread,
Oct 24, 2025, 5:15:28 AM (7 days ago) Oct 24
to Harbour Users
Hi to all,
I tried to open a .dbf that is on a NAS, the drive is not mapped on the client computer for security reasons.

I tried the following sintax

USE \\NAS-1\XXX\YYY\test.dbf 
USE \\15.215.196.22\XXX\YYY\test.dbf 

but without success.

Any syntax suggestion or procedure to make it work?

Thanks
Zoran

Ash

unread,
Oct 24, 2025, 1:44:50 PM (7 days ago) Oct 24
to Harbour Users
Set XXX as a share and then try USE \\15.215.196.22\XXX\YYY\test.dbf.

Regards,
Ash

Mauro Sagrero

unread,
Oct 27, 2025, 2:53:10 PM (4 days ago) Oct 27
to harbou...@googlegroups.com
Ya revisaste los permisos de lectura (y de escritura ) de tu usuario a esa carpeta del NAS donde esta test.dbf ?
saludos


--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/209b4016-6250-4726-82e3-c59798c5cb17n%40googlegroups.com.


--

 


Este correo electrónico y sus archivos adjuntos se consideran información privilegiada y confidencial, y están destinados exclusivamente al destinatario. Si usted no es el destinatario o recibió esta comunicación por error, por favor notifique al remitente de inmediato y elimine este correo. El uso, divulgación o distribución no autorizada de esta información está prohibida.
En cumplimiento con la Ley Federal de Protección de Datos Personales en Posesión de los Particulares, le informamos que sus datos personales, que sean compartidos por este medio, serán tratados de acuerdo con nuestro Aviso de Privacidad disponible en www.gat.com.mx y/o a través de la dirección electrónica datospersonales@gat.com.mx.

Antes de imprimir el presente correo, piense en el medio ambiente.

Zoran Sibinovic

unread,
Oct 27, 2025, 3:53:58 PM (4 days ago) Oct 27
to harbou...@googlegroups.com
Hi to all,
Sorry for the the delay of my message.
There is no problem with the access to the file. Morelike a sintax problem if the USE and DBUSEAREA() does not support it.

If I mat the NAS folder ex. with Y then it find it using the above method like Y:\xxx\yyy\test.dbf. In the case of a direct addressing using the IP address or the NAS name it not. In the documentation I have not found some explanation if this can work.
I continue to try.

Best regards to all
Zoran



_________________________________

 Zoran Sibinović
dipl.menadžer i inž.informatike i statistike
graduate manager and engineer of informatics and statistics
Srbija / Serbia tel.+381 64 1876338

En cumplimiento con la Ley Federal de Protección de Datos Personales en Posesión de los Particulares, le informamos que sus datos personales, que sean compartidos por este medio, serán tratados de acuerdo con nuestro Aviso de Privacidad disponible en www.gat.com.mx y/o a través de la dirección electrónica datospe...@gat.com.mx.


Antes de imprimir el presente correo, piense en el medio ambiente.

--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to a topic in the Google Groups "Harbour Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/harbour-users/TC30mDq_Uuo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/CAOdoq4rZqptj-8OtRoVGMoRT%3DOYMnfjTYi1FSmwtrexTZSKpOg%40mail.gmail.com.

Mauro Sagrero

unread,
Oct 28, 2025, 11:10:08 AM (3 days ago) Oct 28
to harbou...@googlegroups.com
Hola Zoran
Yo lo uso y me funciona correctamente y lo tengo en un NAS

//USE \\10.25.103.10\_JoyaBascula\XVOLKETES.DBF                 // !! OK !!
   USE \\10.25.103.10\_JoyaBascula\NOTAS\XVOLKETES.DBF      // !! OK !!
   GO TOP   
   MsgInfo(str(RECCOUNT())+"---- OK ----")

image.png
Las 2 formas me funciona OK
Saludos





--

 


Este correo electrónico y sus archivos adjuntos se consideran información privilegiada y confidencial, y están destinados exclusivamente al destinatario. Si usted no es el destinatario o recibió esta comunicación por error, por favor notifique al remitente de inmediato y elimine este correo. El uso, divulgación o distribución no autorizada de esta información está prohibida.
En cumplimiento con la Ley Federal de Protección de Datos Personales en Posesión de los Particulares, le informamos que sus datos personales, que sean compartidos por este medio, serán tratados de acuerdo con nuestro Aviso de Privacidad disponible en www.gat.com.mx y/o a través de la dirección electrónica datospersonales@gat.com.mx.
Reply all
Reply to author
Forward
0 new messages