nitroshare / nitroshare-android

Android application for transferring files between devices
MIT License
204 stars 51 forks source link

Fail on null #52

Open brieweb opened 6 years ago

brieweb commented 6 years ago

Try to transfer file from one Android device to another and it fails with error, null. The receiving side says zero bytes received while sending side seems to send some data, but I think it is just stuck in a que on the sending side.

brieweb commented 6 years ago

Both phones run nougat. One is Moto x puré while other is LG g5. Also tried with Moto g 3rd gen. I tried wifi direct and on local lab. I am using the fdroid version 0.4.0.38(39)

brieweb commented 6 years ago

Received side says [unknown] Failed: null

unknown

Sending side says

XT1575 Transferring: 1% 640 KB / 56 MB

But stops completely

brieweb commented 6 years ago

Checked and Download/nitroshare folder did not exist, but even after adding it, it would still not transfer. Looked at code and I am wondering why you use a byte buffer of 5? I don't know if it is related, but receiving end seems to have zero info on meta data for file it receives and fails