Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.0
-
None
-
Android 2.3.
Description
To reproduce:
Call fileTransfer.download, passing a URL which returns 404.
Error callback will be correctly fired. But 0-byte file will be left on filesystem. This is because:
FileOutputStream outputStream = new FileOutputStream(file);
is called before the getInputStream is called.