DIR() function fails to read SAMBA shares...

  • Thread starter Thread starter Antonio Lopez Arredondo
  • Start date Start date
A

Antonio Lopez Arredondo

hi all !!!

I am developing a Visual Basic .NET WinForm app that should read the files
contained in a directory. I use the DIR() function.

the app works fine if the SHARE is located in a Windows server.

if the SHARE is located in a UNIX server, shared via SAMBA, the DIR
functions always returns empty results, although if I navigate the share
using the WIndows explorer or a simple DOS "dir f:\" command they both show
all the files.

so the questions are:
* is there any workaround to this problem ?
* which function could I use indeed of using DIR() ?

thanks in advance,
ant.
 
* "Antonio Lopez Arredondo said:
I am developing a Visual Basic .NET WinForm app that should read the files
contained in a directory. I use the DIR() function.

the app works fine if the SHARE is located in a Windows server.

if the SHARE is located in a UNIX server, shared via SAMBA, the DIR
functions always returns empty results, although if I navigate the share
using the WIndows explorer or a simple DOS "dir f:\" command they both show
all the files.

so the questions are:
* is there any workaround to this problem ?
* which function could I use indeed of using DIR() ?

The classes contained in the 'System.IO' namespace ('Directory' class).
 
Back
Top