Hello friends,

I make a connection to a ftp server and there was 6 folder.

.
..
A
B
C
D
E
F

Then I use the command mdFtp->cd("E"); to go in one folder to see the files or whatever?
When I click on one item I can download them with the command:
Qt Code:
  1. mdFtp->get(mdTreewidget->currentItem()->text(0), mdfile);
To copy to clipboard, switch view to plain text mode 

How can I get all files in one specific folder at one Time??
I try it with this loop but no result:

Qt Code:
  1. for (int i=0; i< mdTreewidget->currentItem()->childCount(); i++)
To copy to clipboard, switch view to plain text mode 

Have anybody an idea???