المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Ftp



C# Programming
10-02-2009, 05:24 PM
I have found a good article at http://www.codeguru.com/columns/vb/article.php/c8459__2/ to build a ftp client. But I wanted to get everyone's input on what the best way of doing this in c#.net or vb.net 2008.

What I am wanting to do is have 2 simple classes:
Class 1: Upload...
Class 2: Download...

All I want to pass into the class is the following:
IP Address
Port
Login
Password
Sending/Receiving File ********.

However I need the 2 classes to generate a form to show the user the stages of connection and progression of transmission.

Anyone have any insights on how I can go about this. Perhaps websites that can give me a working model to build from.
I could simply pass the command thru the command prompt but I would rather it be part of the main application and or .net framework if possible.