title: android- dropbox download files
body: <p>I am currently working on an android app that is to support the android dropbox api. i am successfully sending the files to my dropbox folder.now i want to download the files and save into the sdcard. at the moment when i am trying to download files it gives me an error this </p>
  
  <pre><code>DropboxServerException (nginx): 404 Not Found (File not found)
  </code></pre>
  
  <p>here is my code </p>
  
  <pre><code>public void downloadFiles(String filename){
          Log.i("filename is ",filename); 
  
          File mFile=new File(Environment.getExternalStorageDirectory().getPath() + "/Download1");
          try {
              FileOutputStream mFileOutputStream=new FileOutputStream(mFile);
              DropboxFileInfo mDropboxFileInfo=mApi.getFile(filename, null, mFileOutputStream, null);
              } catch (FileNotFoundException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
              } catch (DropboxException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
              }
      }
  </code></pre>
  
  <p>filename is successfully printing on the LogCat. and the file is in my Photos Folder in dropbox. but i am not able to download it .</p>