]> SALOME platform Git repositories - tools/simanio.git/commitdiff
Salome HOME
original file names are kept, v2
authorbri <bri@opencascade.com>
Mon, 10 Feb 2014 14:09:12 +0000 (18:09 +0400)
committerbri <bri@opencascade.com>
Mon, 10 Feb 2014 14:09:12 +0000 (18:09 +0400)
src/SimanIO_Link.cxx

index 2cc9779c1e4c0dccf5f6139d99988069199b1827..7dada805ff54ffdf73d28e38d28c89c5c4093b08 100644 (file)
@@ -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/";