ftps软件android,ftps - Apache FTPSClient Android 11 - Stack Overflow

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 my Android/Java app can handle it fine. A FTPSClient 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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值