You can read in the bytes of the file to upload and send it as a stream using Sockets. Here is a site that shows how to send data between client (the Windows application) and server (where you want to upload the file to).
http://www.c-sharpcorner.com/uploadfile/dottys/socketprogdtrp11222005023030am/socketprogdtrp.aspx