PDA

View Full Version : tree of files and dirertories



hbill
22nd June 2008, 17:41
hi

how can i display the content of ftp on a tree of files and dirertories usin the QTreeWidget or QTreeView

thank you

wysota
22nd June 2008, 22:30
You have to build a model (or a pseudo-model) based on the result of the ftp commands (mostly cd and ls) you send to the server. The model should work in a similar fashion to QDirModel or QFileSystemModel.