Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to send or transfer one file from one computer to another computer using c# coding how it is work i want clear screen shot idea pls it s very urgent to me
Posted
Comments
[no name] 3-Aug-13 6:57am    
You would, learn C#, do some research, come up with some program requirements. write some code, test and fix bugs.
[no name] 3-Aug-13 7:01am    
Don't make a habit of ready made things..try to work by your own..
adriancs 3-Aug-13 13:56pm    
What have you tried?

If it's on a lan, the simplest method is to share a folder on the destination computer with full write permissions, and just use
C#
File.Copy(@"C:\Temp\MyFile.txt", @"M:\MyFile.Txt");

If this isn't suitable, then personally, I would probably transfer it via FTP using the FtpWebRequest class[^]
 
Share this answer
 
Comments
adriancs 3-Aug-13 13:57pm    
Nice 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