Révision 7938c308 tools.cpp
tools.cpp | ||
---|---|---|
222 | 222 |
qDebug() << " On ne parcours pas " << list.at(i).absoluteFilePath(); |
223 | 223 |
} |
224 | 224 |
else { |
225 |
parcoursRecursif(list.at(i).absoluteFilePath(), list.at(i).absoluteFilePath().remove(m_baseDir.absolutePath()).remove("/www")); |
|
225 |
parcoursRecursif(list.at(i).absoluteFilePath(), list.at(i).absoluteFilePath().remove(m_baseDir.absolutePath()).remove("/data/www"));
|
|
226 | 226 |
} |
227 | 227 |
} |
228 | 228 |
} |
... | ... | |
265 | 265 |
qDebug() << " -> " << s; |
266 | 266 |
QFileInfo fi(s); |
267 | 267 |
if(fi.isDir()) { |
268 |
QString ladest = m_destDirBase + fi.absoluteFilePath().remove(m_baseDir.absolutePath()).remove("/www"); |
|
268 |
QString ladest = m_destDirBase + fi.absoluteFilePath().remove(m_baseDir.absolutePath()).remove("/data/www");
|
|
269 | 269 |
qDebug() << "mkdir : " << ladest; |
270 | 270 |
ftpMkdir(ladest); |
271 | 271 |
} |
Formats disponibles : Unified diff