Hello,
actualy I make this:
void MdFtpWindow::downThemAll() /button click Download
{
mdFtp->get(mdTreewidget->currentItem()->text(0), mdfile);
}
void MdFtpWindow::downThemAll() /button click Download
{
mdFtp->get(mdTreewidget->currentItem()->text(0), mdfile);
}
To copy to clipboard, switch view to plain text mode
That means one download click per file and after I try this:
void MdFtpWindow::downThemAll() /button click Download
{
for (int i=0; i< mdTreewidget->currentItem()->childCount(); i++)
{
mdFtp->get(mdTreewidget->itemAt(0,i)->text(0), mdfile);
}
}
void MdFtpWindow::downThemAll() /button click Download
{
for (int i=0; i< mdTreewidget->currentItem()->childCount(); i++)
{
mdFtp->get(mdTreewidget->itemAt(0,i)->text(0), mdfile);
}
}
To copy to clipboard, switch view to plain text mode
And it seems that I must always click the Download Button per File. It don´t loop or parse the files in the Folder and get them!!
any Idea???
Bookmarks