Samsung Galaxy Tab S 10.5 - how to connect device wirelessly to computer?
You cannot just use a local WiFi connection to transfer the data. It has no way of knowing you want it to. There has to be a third party of some sort telling them both to talk.
I would recommend checking out apps like this.
Or, for Android to Android, this.