Hi,
I am using the Dropbox SDK V2 - Java and I can connect, list files, and even upload files. However, when I try to download a file, the file that I end up with is empty (0 bytes). I have tried several different files, all of them are small in size. Any ideas or suggestions?
Here is the download (and upload) code:
Sub btnGetFile_Click
dbxFiles.download("/Work/test.txt", File.DirDefaultExternal, "test.txt")
End Sub
Sub btnSendFile_Click
dbxFiles.upload(File.DirDefaultExternal, "1.jpg", "/Work/" & "1.jpg", False, False)
End Sub
When the download is performed, in the log I get:
files.download()
files.download(after new File())
files.download(create fos)
files.download(fos created)