From: bri Date: Mon, 10 Feb 2014 14:09:12 +0000 (+0400) Subject: original file names are kept, v2 X-Git-Tag: Delivery_V1_0_2013_07_12~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=55378ba2156b5212f92f22eb3c71645a9ebcbf18;p=tools%2Fsimanio.git original file names are kept, v2 --- 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/";