From 55378ba2156b5212f92f22eb3c71645a9ebcbf18 Mon Sep 17 00:00:00 2001 From: bri Date: Mon, 10 Feb 2014 18:09:12 +0400 Subject: [PATCH] original file names are kept, v2 --- src/SimanIO_Link.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SimanIO_Link.cxx b/src/SimanIO_Link.cxx index 2cc9779..7dada80 100644 --- a/src/SimanIO_Link.cxx +++ b/src/SimanIO_Link.cxx @@ -139,7 +139,7 @@ SimanIO_Configuration SimanIO_Link::RetrieveConf() string aURL = aFileIter.URL(); string aFileName = aURL.substr(aURL.find_last_of("/\\")+1); int startUnderlineIndex = aFileName.find_first_of("_") + 1; - string aSourceFileName = aFileName.substr(startUnderlineIndex, aFileName.find_last_of(".") - startUnderlineIndex); + string aSourceFileName = aFileName.substr(startUnderlineIndex); //cout << "aURL = " << "http://" << aSimanWSHost << "/repository/" << aURL << "\n"; string aPathToVault = aResponseFilePath.substr(0, aResponseFilePath.find("download")) + "vault/"; -- 2.30.2