Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File myFile = new File(thisIsRootDirString);
- while(!done){
- if(myFile.isDirectory()){
- listFiles = myFile.list();
- //I guess take the name of the directory, add it to another string and iterate through the list of files
- //and at the end send the directory to reconstruct the directory structure on the client side
- }else{
- //send the file?
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement