|
Home > Help Files > Web > Upload/Download files
Upload/Download files
You can download your homepages to your computer, make modifications
to them, then upload the files again. To do so, you need to use
secure ftp.
Windows/Mac users
- Make sure you have an account with DECF.
If not, apply for one
- Download the
latest Secure Shell client. Be sure it supports SFTP.
- Start up Secure Shell.
- Click on File->Quick Connect
- Connect to kepler.berkeley.edu, using your DECF username
and password.
- Click on Window->New File Transfer. A secure ftp window
will pop up.
- Go to the directory where your web pages are.
For home pages
with URLs such as http://www.server.berkeley.edu/~username, click
on the public_html directory.
The document root for ME web site is /var/www/html/htdocs-me/
The document root for MSE web site is /var/www/html/htdocs-mse/
The document root for BioEng lab websites is
/var/www/html/htdocs-groups/labaddr (e.g. /var/www/html/htdocs-groups/herrlab)
You can use the Operation->Go To Folder command to go to
ME website or MSE website.
- To upload or download files, just drag and drop.
- If you're uploading files, make sure you have set the right file
permissions.
One of the columns in your Secure File Transfer should be
"Attributes". For directories/folders/cgi scripts, make sure it has the
following permission: drwxr-xr-x
For files, make sure it has the following permission:
rwxr--r--
To change permission, right mouse click, then click on
Properties. For directories, make sure read and execute
permission for Group and Other is checked. For files, make sure
read permission is checked.
Unix/Command line users
Syntax for transfering files are:
scp files user@kepler.berkeley.edu:public_html/
For example, supposing you are logged into a Linux Client Machine in
1111 Etch, and you want to transfer the webpages you created under the
my_homepage directory
unix% cd my_homepage
unix% scp index.html user@kepler.berkeley.edu:public_html/
or
unix% scp index.html user@kepler.berkeley.edu:/home/httpd/htdocs/ME170/
To upload to a class homepage.
or
unix% scp -r trip/ user@kepler.berkeley.edu:public_html/
to transfer everything under the folder trip into your public_html directory
You can also use sftp, which works just like ftp. The syntax is:
sftp user@kepler.berkeley.edu
Access your Personal Webpage
- http://www.me.berkeley.edu/~username (ME Dept)
- http://www.mse.berkeley.edu/~username (MSE Dept)
- http://www.decf.berkeley.edu/~username (Everyone else)
|