javacommons/gcfprotocols/file/javasrc/com/nokia/mj/impl/file/FileConnectionImpl.java
changeset 50 023eef975703
parent 23 98ccebc37403
child 56 abc41079b313
equal deleted inserted replaced
49:35baca0e7a2e 50:023eef975703
   252         {
   252         {
   253             // Remove trailing "/"
   253             // Remove trailing "/"
   254             curUrl = curUrl.substring(0, curUrl.length() - 1);
   254             curUrl = curUrl.substring(0, curUrl.length() - 1);
   255         }
   255         }
   256         String newUrl = curUrl.substring(0, curUrl.lastIndexOf('/') + 1);
   256         String newUrl = curUrl.substring(0, curUrl.lastIndexOf('/') + 1);
   257         newUrl += iFileUtility.getName();
   257         newUrl += FileUTF8Handler.encode(iFileUtility.getName());
   258 
   258 
   259         iFileConnectionUrl = new FileConnectionURL(newUrl);
   259         iFileConnectionUrl = new FileConnectionURL(newUrl);
   260     }
   260     }
   261 
   261 
   262     /**
   262     /**