nitroshare / nitroshare-desktop

Network file transfer application for Windows, OS X, & Linux
http://nitroshare.net
MIT License
1.57k stars 223 forks source link

Still cannot recieve from Windows to Android, but can send from Android to Windows. #194

Open Sopheus opened 6 years ago

Sopheus commented 6 years ago

The title. The problem wasn't fixed.

antuketot76 commented 6 years ago

Yeah, me too. Hoping that it will fixed soon

jeroenev commented 6 years ago

you mean you can't send from windows to android?

antuketot76 commented 6 years ago

Yeah can't receive from pc to android

jeroenev commented 6 years ago

same issue, but on linux

Sopheus commented 6 years ago

Yes, cannot send from win to android

hitchhiker54 commented 6 years ago

See https://github.com/nitroshare/nitroshare-desktop/issues/198 checking 'Overwrite files with identical names breaks windows to linux transfers, might be same for Android.

toondaey commented 6 years ago

Same issue from mac to android. Can't send from mac to android but works in reverse.

jeroenev commented 6 years ago

so same issue on all desktop platforms it seems

EnricoMonese commented 6 years ago

I have the same issue, on a mac too

jpastuszek commented 5 years ago

I tried sending from Mac to two different android devices and it failed to both with Host unreachable. Works the other way around if you turn off firewall on Mac - wont work even if you allow connections on the FW.

SailorOnDaTea commented 3 years ago

Hello I can send from android phone to computer but cannot send from computer to android phone.

it is android 9(pie) rom called xenon, microG installed via magisk. file explorers can browse windows shares fine. SMBsync2 can work fine with smbv1 on router and smbv2-3whatever on windows.

I also allowed nitroshare as program in windows firewall for both inbound and outbound for all networks. windows 10 64-bit 20H2, ASUS B350 board with gigabit ethernet. Modem/Router firewall ddos turned off, no user isolation, upnp and nat active(tho i don't think necessary for lan). phone download folder is internal storage/0/download/nitroshare, just as default...

there you have it, works only one way...

SailorOnDaTea commented 3 years ago

THere is another app called trebuchet but i dont like it because of its gui. it is not as neat as nitroshare. however when i googled i saw this: "Trebuchet.py may or may not work due to UDP broadcast issues." maybe it can lead to a solution?

if it is about UDP and cannot be fixed then just use TCP.

I also found this online: "NitroShare (cross-platform network file sharing application) uses port 40818/tcp for transfers and port 40816/udp for broadcasts." "unlike TCP, UDP is connectionless and does not guarantee reliable communication" https://www.speedguide.net/port.php?port=40818#:~:text=NitroShare%20(cross%2Dplatform%20network%20file,port%2040816%2Fudp%20for%20broadcasts.&text=Notes%3A&text=UDP%20ports%20use%20the%20Datagram%20Protocol.

SailorOnDaTea commented 3 years ago

it looks like some others also having trouble with UDP broadcasts on android. unfortunately i don't have coding skills so i can only share another link: https://stackoverflow.com/questions/17308729/send-broadcast-udp-but-not-receive-it-on-other-android-devices