Description:
FTP Explorer is a GUI - FTP client application developed in C# using Visual Studio.NET Beta 1. It takes connection information of FTP server,connects to it, populates folder and files in treeview and listview respectively. Currently this application is developed and tested with Microsoft NT 5.0, IBM AIX and Sun Solaris 5.6 FTP services.
This version is extension of my previous version "FTP Explorer in C#" which was published on May 25,2001. In this version more FTP commands have been implemented. File upload, creating directory on FTP server, deleting directory on FTP server, deleting files are implemented. However binary mode of file transfer is not implemented yet which I am planning to implement in next version along with drag and drop features.
This application expects SYST FTP command to be implemented by FTP Server. To display folder and file information, I need to parse the output of LIST command from the FTP server, for this I need to know the FTP Server OS type. Because the output of LIST command is different for different OS.
Source Code:
The complete source code is available as a zip file. The application main window snap shot is shown here. This snap shot shows the main window connected to
L8 Version: BSD-44 FTP service on IBM AIX Version 4.3
This application illustrates about File Transfer Protocol, types of connection, various control and data connection commands like USER, PASS, SYST, MODE, TYPE, PORT, LIST, RETR, STOR, RMD, MKD, DELE, QUIT etc. to name a few.
This application illustrates the usage of System.Net and System.Net.Sockets namespace and classes like Socket, TCPListener. Connecting to server, Sending and Receiving data. Handling timeouts and closing sockets. Apart from this it also illustrates the usage of common controls like Treeview, Listview, tab control, ImageList, Statusbar, Toolbar, Tooltip, Progress bar etc.
Comments and suggestions are welcome !!!