Do you have an FTP connection, or a Telnet connection (or SFTP or SSH or .....)? Or even a connection to a server application that you wrote yourself and is therefore totally proprietary?
If you don't provide us with any details at all, we cannot even start to give help. Please take a look at TellTheDetails and NotACodeMill for some things that might help you get good answers here.
You don't "store a file to a server", you use a server to store files in itself (or wherever). That means you need some sort of server program (don't confuse a server hardware for the actual server softwares!). This can be a file server such as Samba, or it could be a custom web application that has a file upload function. Or any one of a number of server programs such as ftp.
Unix and Windows are alike in this regard. If you want to transfer a file into another computer using a network connection, there has to be a server program running on the target machine that's willing to receive and store the data.
A lot the of modern-day software development platforms are designed to permit parcelling out work to those with the best aptitude for it. A lot of modern-day business is predicated on making one person do all the work, regardless of aptitude.