Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Android 8, 9 and 10 work OK, 11 does not. Standard phones (mostly Samsung), an A40 has Android 11 on it.
Description
I have an Android app which does, among other things, FTP uploads and downloads with a file server. Up to Android 10, all is fine, but I'm getting problems with Android 11.
I have opened a FileStream. Available shows the right byte count, and a read returns a byte array with the right data in it, so I'm pointing in the right place and my Android/Java app can handle it fine. A FTPSClient (3.8.0) storeFile creates a file on the server, but the data is totally corrupt. The application also locks, the storeFile never returns until I am forced off the server. It's all in a try/catch, with enough catches to choke an elephant. All files are in a folder within my application 'sandbox'. As I said, my Java code can handle the file.