I want to transfer files across the network using C or C++. What topics should I look up? How can I do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
While you could use
ReadFileto read the file’s contents and then send it over a socket, Windows also provides theTransmitFileAPI to enable you to read a file’s data and send it over a socket with one system call.