title: system.IO.DirectoryNotFoundException : Could not find a part of the path ( android build in unity )
body: <p>im working on unity3d application for android and im trying to move uploaded file from user dir to Application.persistentDataPath in android using File.Move, it works fine in windows, but after i exported it to android, it give me this Error </p>
  
  <blockquote>
    <p>system.IO.DirectoryNotFoundException : Could not find a part of the path</p>
  </blockquote>
  
  <p>here's the code im working on </p>
  
  <pre><code>FileBrowser.ShowLoadDialog( (path) =&gt; {
          var temp = path.Split('\\');
          string filename = "";
          foreach (var item in temp)
          {
              filename = item;
          }
          // Path.Combine(path);
          var dir = Application.persistentDataPath + "/upload";
  
          if (!Directory.Exists(dir)) 
          {
              Directory.CreateDirectory(dir); // create /Upload dir
  
              return;
          }else{
              Debug.Log("That path exists already.");
          }
  
          try{ 
              //Move the selected file
              File.Move(path,dir + '/' + filename); 
              Debug.Log(dir + '/' + filename);
              text.GetComponent&lt;Text&gt;().text = dir + '/' + filename;
          }catch(Exception e){
              text.GetComponent&lt;Text&gt;().text = e.ToString();
          }
  
          // FileUtil.MoveFileOrDirectory(path, Application.persistentDataPath + '/' + filename);
           }, 
                                     () =&gt; { Debug.Log( "Canceled" ); }, 
                                     false, null, "Select Folder", "Select" );
  
  }
  </code></pre>
  
  <p>can someone help me to resolve this problem?</p>