Projet

Général

Profil

Révision 04d4d726

Voir les différences:

original.cpp
424 424

  
425 425
    QFileInfo fi(ui->treeWidget->currentItem()->data(1,0).toString());
426 426
    QDir dir(fi.absoluteFilePath());
427
    m_tools->parcoursRecursif(dir.absolutePath(),"");
427
    m_tools->parcoursRecursif(dir.absolutePath(),ui->treeWidget->currentItem()->text(0));
428 428
    //qDebug() << m_fileListToUpload;
429 429
    m_tools->uploadRecursifGallery(ui->leFTPDirectory->text());
430 430
    connect(m_tools, SIGNAL(signalUpload(int,int)), this, SLOT(updateProgressFichier(int,int)));
tools.cpp
220 220
            ftpMkdir(ladest);
221 221
        }
222 222
        else {
223
            QString ladest = destDirBase + "/galleries/" + m_fileListToUpload.value(fi.absoluteFilePath()) + "/" + fi.fileName();
223
            QString ladest = m_destDirBase + "/galleries/" + m_fileListToUpload.value(fi.absoluteFilePath()) + "/" + fi.fileName();
224 224
            ftpPut(fi.absoluteFilePath(),ladest);
225 225
        }
226 226
    }

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux