Click to See Complete Forum and Search --> : Pls. help! Problem in C


crisc
June 10th, 2003, 01:08 AM
Hello everyone... I'm doing a program in C. What I want to do is that the user will input a folder name. My program is to check whether that folder reside i the server. The problem is... there is no mapping syntax in C. Should I use Unix script?? I'm not that knwledgeable in Unix
pls help....

my email add is crisc@amkor.com

crisc
June 10th, 2003, 01:14 AM
pls help me with my problem.... :(

zach
June 11th, 2003, 07:08 AM
Try an fopen() on the full folder name. If it fails the folder does not exist. Don't forget the fclose() though.

crisc
June 11th, 2003, 05:59 PM
I'M not in the server, you see I have a local PC and a server, the user will type in the flder name to the local pc, my program is to check whether that folder exist in the server.

Mathew Joy
June 12th, 2003, 01:12 AM
What sort of connection is there between the server and the client?