Click here to Skip to main content
15,891,763 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need small example on UPLOAD AND DOWN LOAD FILE IN C# Win forms. which has one button and one text box once you upload or down load file show up in that text box

Thank you very much.

Vijay Patel
Posted
Updated 28-Jul-11 9:29am
v2
Comments
Gordon Beeming 28-Jul-11 15:06pm    
You need more detail, upload and download from where? http? ftp?
Vijay Pate 28-Jul-11 15:30pm    
I need small example on UPLOAD AND DOWN LOAD FILE IN C# Win forms. which has one button and one text box once you upload or down load file show up in that text box
Christian Graus 28-Jul-11 21:55pm    
Why restate the same thing. We know what your demand is. If you can't use google, can't program, can't read books, at least work on answering questions about your request, and perhaps making your requests less rude and more likely to make us feel you did more than ask us to do your work for you. Don't deliver a spec for code to people you are not paying.
Christian Graus 28-Jul-11 21:49pm    
Sorry to hear you're in a country where you don't have access to google. I hope the answers you got were helpful.

For common tasks you use System.Web.WebClient
 
Share this answer
 
Comments
Espen Harlinn 30-Jul-11 7:21am    
Right :)
Found similar question[^] on somewhere & TheBinaryDigit is right.

Also found these in CP.
How to Upload a File to a WebDAV Server in VB.NET[^]
Upload Any File Type through a Visual Basic 2005 Web Service[^]

And also this

An FtpClient Class and WinForm Control[^]

EDIT
-----------------------------
For code conversion use this
Convert VB.NET to C#[^]
 
Share this answer
 
v3
Comments
Vijay Pate 29-Jul-11 6:52am    
VB is not going to help I need this in C##### please
thatraja 29-Jul-11 19:34pm    
Check my updated answer for the code conversion link. BTW the last link in C#, did you see that?
Espen Harlinn 30-Jul-11 7:21am    
More people should know about WebDAV, my 5
Vijay Pate 1-Aug-11 7:32am    
Thatraja,

I didnot see your upload topic could you please send me the link.
Thank you very much.

Vijay

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