I know that i might be jumping straight into the 'deep end', however I want to make a program which accesses a file (.txt for example) over the network.

For example, you type in the IP Address of the computer where the file is stored, and the program reads from the text file.

Now, I'm sure that accessing the other computer will be relatively simple, however, I have no idea how the program will deal with the path (C:\\My Documents) to the document on the other computer.

Any resources to read, tips etc?

Thanks

Recommended Answers

All 2 Replies

Use a web server.

I have no idea how the program will deal with the path (C:\\My Documents) to the document on the other computer.

The "magic" that makes the internet work is servers. To communicate with another computer, that other computer needs some software running to receive your messages.
That software is called a server.
So before you can do anything you need a server on the other computer.
Then you'll need a protocol for the communications between the two computers.
Choices are FTP and HTTP.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.