Click here to Skip to main content
15,915,164 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi experts ,

how to upload file to ftp server using c#.

thanks in advance .


best regards .

sairam
Posted

Hi,

You can use the FtpWebRequest Class to upload files via FTP.

An example of this can be found in this MSDN tutorial.

Hope it helps/
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 16-Sep-14 9:59am    
Right,. a 5.
—SA
Step 1) Do a little research. Google is a good start point
i.e:
Simple C# FTP Class[^]
http://www.vcskicks.com/csharp_ftp_upload.php[^]
Step 2) Start coding
Step 3) Compile and use the debug to solve little issues
Step 4) When you get a problem you don't know how to solve but at least you tried it, then come back and ask for something concrete with a snippet of the code giving problems

Sorry if this is not the answer you were looking for. But your question is a bit too wide to be answered at the "Quick" Answers. It is better and you get faster help if you make 10 concrete questions about concrete problems, than a big question about a "how-to guide"
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 16-Sep-14 9:59am    
5ed.
—SA
Nelek 16-Sep-14 10:54am    
Thanks
You can go through this, this link will help you.
Upload file to server using FTP[^]
 
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