FTP stands for File Transfer Protocol. It is a standard network protocol used to transfer files between computers, generally between a client and server. An FTP client is a desktop application that lets you transfer files from your computer to a remote server. It is most commonly used to upload files to a public web server for a website.
FTP pre-dates HTTP and was not developed to be a secure protocol, so it has many vulnerabilities. SFTP (SSH File Transfer Protocol, or Secure File Transfer Protocol) is a newer protocol designed by the Internet Engineering Task Force to provide secure file transferring between known clients and hosts. We will use SFTP to transfer our files securely.
ftp.dma.ucla.eduand default port
To connect via a FTP connection you need to know:
ftp.dma.ucla.eduand the default port:
The public_html folder in your home directory is the root directory of your web space, and where you may create your personal website. It has been pre-configured with the correct permissions to allow file placed inside to be accessed online. A file called foo.html in that directory will be available online as: http://users.dma.ucla.edu/~
The special file index.html or index.php is what is brought up automatically if you do not specify a filename at the end of your URL (eg: http://users.design.ucla.edu/~
PLEASE NOTE: if you do not have an index.html file and type the URL without a filename at the end, you will get an error message (access forbidden). This is for your own protection, as it prevents people from browsing through your directory when you are not ready for them to do so.
NOTE1: Permissions File permissions matter. All files in the public_html directory should be world-readable in order to ensure their availability online. Similarly, all directories should be world readable and executable. Most clients will deposit the files in the correct manner, but there have been some reports that moving whole folders from other parts of your home directory to your web area may mess up permissions depending on your client.
NOTE2: CAPITALIZATION MATTERS! That is to say, index.html and iNdex.html are NOT the same files. In order for your site to work properly, you must make sure that both the filenames and the HTML that refers to the filename use the same casing. Since many operating systems by default hide or pretty the actual cases of their filenames, I recommend either turning off those features (if you know how) or use an SFTP client that shows you how the files actually look when uploaded.