Got it. I had to send the files to my remote home dir. Then I logged onto the remote server via ssh. Then I had to su to root and cp the files to /var/www/. Everything worked fine. here is my code I used. scp MainMap2.html user@192.168.3.200:/home/user/web/MainMap2.html. Thanks Chris for the help. Jack