Shortly speaking you could not upload anything to server without receiving this stuff on server.
I.e. if your server is "passive" and only contains static html web pages, you could not upload anything to it.
Server should be able to properly receive this request, handle and store file.
So you need to set up your server to work with cgi, php, asp or other kind of scripts and then get back here to forum - I think the rest would not be very complicated. ;-)