Building a Simple FTP Application Using C# 2.0
page 1 of 6
Published: 04 Apr 2007
Abstract
This article demonstrates how to create a simple FTP application using C# 2.0 with the help of code samples.
by Mohammed Habeeb
Feedback
Average Rating: 
Views (Total / Last 10 Days): 100133/ 985

Introduction

An addition to the Microsoft .NET Framework 2.0 to 1.x is the support for FTP. All these days we had to rely on 3rd party libraries which suited most of our needs, but for sure, there is an extra pleasure using the .net framework library classes. The code included is not designed to be a full-fledged reusable library, but rather an easy to use and reusable pieces of code which is easily comprehensible and can be reused and tweaked to fit your specific needs. Therefore, the code for each functionality (upload, download, delete etc…) can be easy picked up separately and reused. The main motive behind this article was the unavailability of .NET 2.0 FTP sample codes and their usage in C#; may be because it is a new entrant to the .NET scenario or the third party implementations available were working pretty well, but this area of the .NET 2.0 library has not gotten enough focus.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 4 and 7 and type the answer here:

User Comments

Title: Thanks   
Name: Ocar
Date: 3/15/2010 8:38:57 AM
Comment:
Thank you!
Title: Thanks   
Name: David
Date: 3/10/2010 2:18:45 PM
Comment:
Thank you so much for putting this together. I needed to dynamically pick up data with ssis and the ftp task wasn't dynamic enough.
Title: Well written article   
Name: jacob
Date: 2/12/2010 5:04:52 PM
Comment:
This is what I have been looking for. Easy to understand and concise.
Title: great but......   
Name: Nitin
Date: 2/9/2010 12:47:01 AM
Comment:
Its a great code...but here we have to provide our ftp user id and password which i cant. Is there any other way where we dont need to provide ftp user id and password, if so then let me know plz?

Thanks
Title: great   
Name: waqas
Date: 2/8/2010 5:47:59 AM
Comment:
thats what i was looking for.
thanks
Title: GREAT!!   
Name: Andrea
Date: 1/12/2010 12:23:52 PM
Comment:
You solve my problem... great article!!
Thanks from Italy
Title: shokrn   
Name: mido egypt
Date: 1/8/2010 10:52:15 AM
Comment:
very very good
Title: Retrieve more than one file   
Name: Sergio Salanitri
Date: 11/23/2009 11:04:06 AM
Comment:
Goog article. My question es ¿How I retrive more than one file without execute Connect statemente for each file?

Thanks.
Title: Meet the expectation   
Name: Mahbub
Date: 8/17/2009 10:10:40 PM
Comment:
Thanks for your nice article along with code. I think it is very much helpful for us. Expecting more articles from you.
Title: Thanks a lot   
Name: John
Date: 8/9/2009 1:16:48 AM
Comment:
Thanks a lot, man.
This is exactly what I was looking for.
I searched the whole internet for FTP operations using C# and .net libraries. I could find some on MSDN, but it was not easy to understand and takes a long time to read. Your article is upto the point and very much reusable. This was a quick requirement for our business and you saved us.
Hoping to see more articles from you.

Thanks Again,
John
Title: Simple and informative   
Name: Faisal Lodhi
Date: 6/21/2009 6:41:02 AM
Comment:
Thanks for the article

Product Spotlight
Product Spotlight 






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2010 ASPAlliance.com  |  Page Processed at 3/22/2010 2:37:27 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search