Uploading .htaccess files

How do i upload .htaccess files into the root folder?

Use FTP
http://wiki.dreamhost.com/FTP

Or WebFTP which is available through the panel here under Manage Domains.