Click here to Skip to main content
15,886,609 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i saw another code here but i didn't understand it because it is not like my framework tht i work in
I want the function that I can use it to upload file from client to resever

What I have tried:

line=sr.ReadLine();
if(line =="upload")
{

}
Posted
Updated 11-Jul-20 23:19pm

1 solution

You need an agent on the remote system that accepts the upload command and then reads and saves the data that is sent to it. Google for "tcp sockets" and you will find many samples.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900