How to read a text file over a network

"Abhijeet Singh" <[email protected]> Mon, 13 Dec 2010 18:23:49 +0530
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
Hi,I am new to Mac. In my application I have to read a text file (say file1.txt) from a user defined location/path. User defines this filepath in another text file (say file2.txt). My program first reads file2.txt and gets the path of file1.txt from there. file2.txt always exists on my machine but file1.txt can be anywhere on network. My question is if user wants to define some network file path then:How to define a network file path? (I tried keeping file1.txt over a network and define its path as given in "Get Info" panel in file2.txt)How to read a file over a network? (I am reading file using C functions fopen, fscanf, fgets. Do i need to use any function from cocoa?)Thanks & RegardsAbhijeetDear macosxdev ! Get Yourself a cool, short @in.com Email ID now!