mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 00:56:19 +00:00
Fixed: #1455 Bad changes in revision 48a37af6954c
This commit is contained in:
parent
c366d1753a
commit
1a595276b6
1 changed files with 5 additions and 3 deletions
|
@ -472,9 +472,11 @@ bool CRyzomFileRetrieverImplementation::downloadBackupFiles(const CSString& shar
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// generate a local filename for the downloaded file
|
// generate a local filename for the downloaded file
|
||||||
CSString localFileName= NLMISC::CPath::standardizePath(localDirectory)+(fileName+"_"+fdc[i].FileName);
|
CSString fdcFileNameUnderscore = fdc[i].FileName;
|
||||||
localFileName = localFileName.replace("/","_");
|
fdcFileNameUnderscore = fdcFileNameUnderscore.replace("/","_");
|
||||||
localFileName = localFileName.replace(".","_");
|
CSString localFileNameWithoutPath = fileName + "_" + fdcFileNameUnderscore;
|
||||||
|
localFileNameWithoutPath = localFileNameWithoutPath.replace(".","_");
|
||||||
|
CSString localFileName = NLMISC::CPath::standardizePath(localDirectory) + localFileNameWithoutPath;
|
||||||
nlinfo("Requesting file download: REMOTE:%s => LOCAL:%s",fdc[i].FileName.c_str(),localFileName.c_str());
|
nlinfo("Requesting file download: REMOTE:%s => LOCAL:%s",fdc[i].FileName.c_str(),localFileName.c_str());
|
||||||
|
|
||||||
// put in a request for the file to be retrieved
|
// put in a request for the file to be retrieved
|
||||||
|
|
Loading…
Reference in a new issue