[NBLUG/talk] Putting files on my web site

E Frank Ball frankb at efball.com
Thu Jun 5 13:45:01 PDT 2003


On Thu, Jun 05, 2003 at 01:25:31PM -0700, Steve Zimmerman wrote:
} I have a web site (www.sonic.net/~stevetux) with nothing on it.
} I'd like to put some files on it.  How do I do it, or what should
} I read (or both)?
} -- 
} Steve Zimmerman

Your web directory is /home/WWW_pages/stevetux

You can ftp to ftp.sonic.net, login and cd to that directory and upload
files.  You can also use "mkdir" to make subdirectories.  I recommend
ncftp over ftp.

You can also use scp to upload the files.  scp is safer than ftp since
your password is encrypted, it is best used with a key pair.

scp filename.html shell.sonic.net:/home/WWW_pages/stevetux/.

If you have shell access (you have to ask for them to set this up for
you), the login and make a symbolic link:

ln -s /home/WWW_pages/stevetux www

Then from your home directory you just do a "cd www" to get to your web
pages.  So if you ftp in you just "cd www" or use www/ in the path for
scp:

scp filename.html shell.sonic.net:/www/.

With shell access you can also edit the pages online, which is a huge
timesaver if you are trying to debug cgi problems.

-- 

   E Frank Ball                frankb at efball.com



More information about the talk mailing list