All I need is a small piece of code that sends a file called "C:/Windows/Temp/sample.txt" to the same location but to my computer (maybe just cin (input) the IP address in the executable). Can anyone help me please! The file does not have to be "C:/Windows/Temp/sample.txt", maybe also just the sample.txt file in the folder that the .exe file is. My main question is how do you transfer files from one computer to another or to an e-mail. If anyone is kind enough to write a piece of code for this...could you please send it to email@example.com.
I know this is real advanced C++ programming, but there might be a person who can do it :-)