what are the benefit of uploading htaccess file to server

it must be uploaded in ASCII mode and permit it to the file permission as 644. it means that it is rewritable re-rewriteable.
this is the file that can be first used by server and hot access file wherein we can define our url structures as well.
.htaccess file is an apache access directory in most secure way.and this is made for apache and you cannot use it in microsoft server as it was not developed for it.
and you can develop or put htaccess file everywhere you want thr rewrite rules for your folders or files strurcture .
and put there

Easy htaccess tutorials