I can log in to my server with user name "xyzuser" and then use
su -l to get root access.
But how do I transfer files?
This question came from our site for professional and enthusiast programmers.
If you have an ftp server, you can upload the files through ftp.
You could use an NFS share too - it's easy to setup with a /etc/exports file.
If your server runs Windows, you can have a Samba server setup with a shared folder or connect to a shared folder using smbclient.
You could host your files on your local web server and have the server 'pull' the file using wget.