/ Published in: Java

Uploading a binary file(like .doc) to Dropbox.
I tried with .ics and it worked.
I tried with .ics and it worked.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
byte [] buf = new byte[1024]; for(int readNum; (readNum = fis.read(buf)) != -1;) { bos.write(buf, 0, readNum); } Entry newEntry = mDBApi.putFile("/uploads/"+file.getName(), inputStream2, bos.size(), null, null);
URL: http://stackoverflow.com/questions/10153640/uploading-binary-files-using-dropbox-java-api
Comments
