Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Please don't post about US Politics.
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
view the rest of the comments
The USB protocol can indeed handle file transfers, not sure why windows by default wouldn't have support. But when you plug in a phone or hard drive/thumb drive by USB the first thing it asks is if you want to transfer files.
There is absolutely no reason why you wouldn't also want to file transfer between two computers, or say a laptop and a desktop. Just isn't supported by default, but there is software that can give you that feature.
Edit: it looks like in order to get windows to do a USB file transfer by default, the cable itself needs to have an identifying chip. So that windows doesn't use one of the default protocols and try to transfer power as well. I guess there's just no support for computers to identify themselves, it's assumed they will always be the host device and just passively wait for the device on the other end to identify itself. So the software just adds the ability to set one computer as a USB client and identify itself.
There are many, many ways to transfer files. Many phones present themselves as a Mass Storage device (i.e. same as a thumb drive). Others use the Media Transfer Protocol. In any case, your device end has to be configured as such, which cannot be done from a Windows host. USB on the Go (and by extension, USB-C) offers some very limited abilities for something to switch between host and device (master/slave), but it's up to each device to enable that functionality.
When most of us share files on a PC, we are using SMB. This is what Windows typically means by sharing files, and is network-based.
Regardless, you always have to configure each side on what/how to share, and how to access that share. Most phones have a default configuration for this (and it's not everything on your phone), and Windows makes this type of access easy and direct. Again, there are other options, such as the Android Debug Bridge, which are much more complicated.
(As for the identifying chip, there are chips that present themselves in different ways on demand. It is a massive security risk, and has been exploited in the past. Examples are fake keyboards, fake network adapters, and even fake storage - although that's usually technically real, and used to deliver a malicious payload)