Can I contact a machine that is connected to the internet?for eg. my friends system is say 2 kms away from my house.I want to send some message instantly, or read a file from that machine, is it possible?if so How?some piece of code does good. Pl. reply immediately.
posted 14 years ago
Hello neetha, I have not tried what you have said. But I have a idea.File transferring can only be done using an FTP protocol. If your friend has an FTP server. You can write an FTP client in java/C and then make a connetion to your friends machine and then download the file you want. I have tried using java programming connecting to reddif.com and retrieved the file contents. If you want I will give you a sample FTP code in 'C'/JAVA' Nothing more at present. bye, ram.