EDMUND ROBERT TODD created COMMONSSITE-144:
----------------------------------------------
Summary: FTPSClient FTP File transfer, failure on Android 11
Key: COMMONSSITE-144
URL: https://issues.apache.org/jira/browse/COMMONSSITE-144
Project: Apache Commons All
Issue Type: Bug
Components: Commons Skin
Affects Versions: 30
Environment: Android 8, 9 and 10 work OK, 11 does not. Standard phones
(mostly Samsung), an A40 has Android 11 on it.
Reporter: EDMUND ROBERT TODD
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)