FTP Explorer in C#(Beta 2)

Description

This
is a MDI FTP client application that can explore FTP server. This takes connection information and populates folder and files in treeview and listview respectively. This application is developed and tested with Microsoft NT 5.0,IBM AIX and Sun Solaris 5.6 FTP services. Multiple connections can be opened in different child windows.

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. Binary mode of file transfer is
not implemented yet.

Source Code

The complete source code
is available in zip file. The application main window snap shot is
shown here.

FTPExplorerBeta2.jpg

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, 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.


Similar Articles