I fear, by using this code you can't upload your files to the server. You need the ftp details of the server and then you can use the ftp credentials in code and upload your files.
There is an article on this, you can go through it
Upload file to server using FTP[
^]