I want to create an ftp browser where user can browse the files in the ftp server in explorer style.

can i get the list of directories and load it in a treeview then when the user selects the treenode, files in selected directory should be loaded in a listview.
i don't know how to differentiate between fies and folder when getting list of files and folder from ftp.

and is there any possibility that i show the files with their icons.

can any one here help me out, i got to finish this by Wednesday...

DirectoryInfo class has a method GetDirectories().
In his snippet DirectoryInfo is used with its GetFiles() method:

A TreeView has an ImageList. You can index this list to select the icon you want when you make a new TreeNode.