Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I read the text file from remote computer?

Status
Not open for further replies.

svetlana

Programmer
Aug 15, 2002
2
US
Hi!!I have text file that I must read from remote computer .How can I do it?
Thank.
 
There are many posibilities:
1.Read it with ReadFile or (fopen, fget...) if the file is on a mapped network drive.
2.Make a client aplication and comunicate the request and the response(the file) trough sockets or RPC from your server aplication. (more secure way)

and of course, there may be other ways...

HTHT, s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top