Difference between Site Root and WordPress Root
It's important to differentiate between both variants. The Root of your Domain/Website depends on the settings of your webhost. Some might give you ftp access to directories above the web root, and some might put you directly in the web root when accessing your ftp data. When you upload a file for testing, and it is available on
yourdomain.com/yourfile.txt, that directory is the webroot. You can put your WordPress installation in this directory or any directory below. For Example your whole WordPress installation can be in
yourdomain.com/sub/directory/blog, if this makes any sense to you.
In this case your Web root would still be
yourdomain.com, while your WordPress root would be
Inside your WordPress Directory you will have additional folders like
wp-content. It looks like you uploaded your file into
When you say you upload your sitemap I assume you have generated that locally. Just let me note that it is totally possible, and good, to let a WordPress plugin do this job, assuming you are using only WordPress for your content. There are several Plugins out there doing this job (one example would be XML Sitemap & Google News). This would probably make things easier.
So you could upload your file into another directory (once you find out where your webroot is) or use a WordPress plugin to generate the sitemap for you.