I think you are over thinking this a little. If you take "share" as a blanket term for "make this file accessible to others in some form" then it is clear why all of these actions should be grouped together, even if their details and implementation are quite different. That is why I think the ios icon is not so problematic, because "share" in this sense is a generalisation of uploading. You are not necessarily sending the data to a server in the traditional sense, but you are transmitting it to another party in some form.