Bonsoir, en ce moment je créer un logiciel de mise à jour via Ftp
tout marche bien sauf quand l'utilisateur choisis son dossier et que windows doit écrire dans le fichier local.

il me met l'erreur suivante : http://www.noelshack.com/up/aac/error-a793745f68.png

voici mon bout de code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
folder = folder+"/"+this->listfile->data();
 
				temp = new QFile(folder);
 
				if ( temp->open(QIODevice::ReadWrite) ) {
 
					this->Ftp->get("/httpdocs/LauncherMiseAjour/"+QString::number(myBuild)+"/"+this->listfile->data(), temp);
					this->DownloadButton->show();
 
				connect(Ftp, SIGNAL(dataTransferProgress(qint64, qint64)), this, SLOT(Progress(qint64, qint64)));
				connect(Ftp,SIGNAL(commandFinished(int, bool)), this, SLOT(FindeTelechargement(int, bool)));
lorce que je remplace folder = folder+"/"+this->listfile->data(); par folder = folder+"/patch.exe"; ca marche tres bien je ne comprend pas ><

pour info listfile est un QBuffer(il contient le nom du fichier à télécharger).

Merci d'avance ^^