Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-700

FTPSClient FTP File transfer, failure on Android 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • FTP
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ed.todd@comcast.net EDMUND ROBERT TODD
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: