File manipulation over network

alextz

New member
Joined
Mar 7, 2005
Messages
2
Programming Experience
10+
Hi,
i want to check if directory exist on a network share point (for example \\192.168.0.1\c\stroage\...") and if necessary create it.
I tried dir() and mkdir() function wich work fine with windows xp (both pcs are running xp), but when I started the application on Windows 2003 Server there are unhandled exceptions.
I think the way windows 2003 shares objects is somehow different.
Am I using the proper functions (i don't know but maybe mkdir() is suitable only for local drives and folders). Please help.
 

alextz

New member
Joined
Mar 7, 2005
Messages
2
Programming Experience
10+
All the security rights are set properly. I tried with mapping the drive and trying to create directory on the mapped drive with mkdir() (i can manualy crate folders there) and there is an exception. The same is with direct access (\\192.168.0.1\c\...)
 

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
Even the .net security? (it's under admin. tools)

TPM
 
Top Bottom