SHARE
TWEET

example file send

LoonerSF Sep 16th, 2012 903 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. File myFile = new File(thisIsRootDirString);
  3. while(!done){
  4.    if(myFile.isDirectory()){
  5.       listFiles = myFile.list();
  6.      //I guess take the name of the directory, add it to another string and iterate through the list of files
  7.      //and at the end send the directory to reconstruct the directory structure on the client side
  8.    }else{
  9.        //send the file?
  10.    }
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top