Click here to Skip to main content
15,893,508 members
Please Sign up or sign in to vote.
1.75/5 (4 votes)
See more:
hi how can i send a file in network for other clinet with c#?
please help...
I want send a file on network...how can I do????

i have a home network.i want a form application that send file to other system or get file from other system on my network..
Posted
Updated 4-Jul-12 8:28am
v5
Comments
[no name] 4-Jul-12 8:58am    
What?
Sandeep Mewara 4-Jul-12 9:53am    
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.
[no name] 4-Jul-12 11:38am    
I like how you edit your question and start screaming instead of adding anything relevant. What have you tried? Do you want to File.Copy()? TCPIP? Named pipes? Send in one shot? Stream the file? How are we supposed to know what it is that you want to do from the absolute lack of any kind of information?
OriginalGriff 4-Jul-12 11:58am    
You could try NOT SHOUTING. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
Sergey Alexandrovich Kryukov 4-Jul-12 13:07pm    
This is a wrong question. You cannot ask "how can I send a file", because -- who will receive it? You should ask about two parties together. If you assume something else is already ready to receive file, you should explain what. FTP server? Web page with where you can post a file? If this is something custom, you need to develop code for both sides by yourself.
--SA

If you want some client server architecture using the sockets.
then refer these links

http://msdn.microsoft.com/en-us/library/ee890485.aspx

http://code.msdn.microsoft.com/Wiki/View.aspx?ProjectName=nclsamples
 
Share this answer
 
v2
Check this

WPF Version of IPMessager[^]

OR use this. its freely available
http://ipmsg.org/index.html.en[^]
 
Share this answer
 
Comments
Alireza_Nasr 5-Jul-12 7:08am    
thank you my friend.it's nice.
[no name] 5-Jul-12 7:11am    
welcome
Alireza_Nasr 10-Jul-12 3:42am    
hi 2irfanshaikh
'm Sorry my friend.
May send c# 2010 version of this program(WPF Version of IPMessager) for me?
thanks...
You can refer to following article:

A class for sending emails with attachments in C#.[^]


This article provide a solution for adding attachment to your mail
 
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