FTP = File Transfer Protocol.
It is set of rules for transferring files such as images and web pages between computers across the Internet.
FTP software does the work for you, according to those rules.
HTTP = HyperText Transfer Protocol, which you see in the address field in your browser such as http://pachamamatrust.org, is another set of rules for doing similar things.
FTP software
Try:
WS_FTP: I obtained WS_FTP95LE from a magazine disk providing oldies for trial or free for home users. Quick and easy to use, when I upload to my website, WS_FTP automatically makes my ASCII files readable to Binary by removing the line breaks, so I do not have to keep switching between the two. Think: text-with-line-breaks = ASCII; images = Binary. If I download those same text files from my website, WS_FTP inserts those line-breaks it had previously removed.
SmartFTP
CuteFTP, altho this may be free only for a limited trial offer.
Filezilla
BlazeFTP
others.
Hiring a web designer
Using FTP software is child's play: learning to use it is little more than following your webhost's instructions. If you stumble, go to your webhost's FAQ page and then chat room.
With regards to other aspects of websites, you have already learnt the basics of web design in earlier chapters, and can manage with only that. Making your website search-engine friendly is tricky but this is a continuing problem since search engines keep changing their methods. You cannot hire a web designer to keep up with this problem. Above all, there are good designers and bad designers, and the only way to know the difference is to be a web expert. So why throw away money to a web designer ?
Any web designer you might hire can claim copyright on all their scripting, legally forcing you to keep hiring them, at great expense, everytime you want to make a 5-minute change. Once connected, you can drag and drop files to and from your website in a couple of minutes, anytime you wish.
Using FTP software
Instructions:
Download free FTP sofware
Install it and start it using the .exe file
FTP asks for information given by your webhost after you pay him:
Host ftp URL: this will be your domain name, perhaps with a letter added
Your username: Your webhost would have asked you for this, agreed and handed it back.
Your password: Your webhost gives thsi to you and asks you to change it on entering the webhost domain.
After those values are entered, you can click on the [Connect] button. This will now connect your computer to your online area.
The FTP program will have 2 windows showing. One is your computer, the other is the online area. Find the correct directory and file you want to transfer on your local computer window. Click or highlight the file.
In the other window, find the correct directory where the file is going to be uploaded to online. Many hosts have the "root" directory named public_html or www or httpdocs.
Once those are set, click on the -> icon or click-on-and-drag the file over to the right spot. You have now transferred a file!
If you need another folder, also called directory, click the button [Mk/dir] which presents a dialog box asking you to name your new directory. Then double-click to open it, and transfer the files into it.
You cannot delete directories which contain files, but have to go to the deepest level, deleting files, and working back up the hierarchy. Slow but at least it makes sure you do not delete files you did not know were down there.
When learning to use FTP, go slowly, thinking your way thru the operations, seeing the patterns, and memorizing them. It is very new and very different, a bit like doing jigsaw puzzles.
Transfer in Ascii, Binary or Auto ?
These are the modes of transfer: ASCII, BINARY or AUTO.
In general, text files should be uploaded in ASCII mode. Files such as html, js, css, php, and so on.
Other types of files should be uploaded in BINARY mode. These include files such as images, sounds, video, zips, and so on.
Most FTP programs will have the transfer mode set to AUTO. This is usually safe considering most programs are kept up to date and have a good listing of what type of files are to be sent in their correct mode.
If you get it wrong, they become corrupt files and will not work.
Permissions
Part of FTP is permissions or CHMOD = CHange MODe.
Some script instructions will talk about CHMOD. After the files are uploaded to your online area, highlight the specified file (on the online window), right click, and choose the CHMOD or PERMISSIONS option. Some FTP programs will have this option as a button to click instead of doing the right click thing.
Now that you have the option open, you change the permissions of the file. Permissions is a set of 3 numbers.
Each digit is a number value from 0 to 7. The value specifies what capabilities are available (or not). These numbers correspond to 3 command types. Read, write and execute.
Read (r) has a value of 4. It allows listing files in the directory.
Write (w) has a value of 2. It allows the addition of new files to the directory.
Execute (x) has a value of 1. It allows access to the files in the directory.
Here are the possible combinations available using these command types:
Digit
rwx
Result
0 1 2 3 4 5 6 7
– – – – – x – w – – w x r – – r – x r w – r w e
no access execute write write and execute read read and execute read and write read write execute
There are 3 digits, as in 746 and 724
The first number represents the host server. This will usually be set to 7 giving the host full permission on the files in the folder.
The second number represents the group (YOU - the individual being hosted).
The third number represents the world (the visitors to the site). Normally, on free hosts, these two digits will be set to 4, allowing the reading (and displaying) of files. Thus, no executing capabilities.
Typical settings for files are 777, 755, 666 or 644.
Typical settings for directories are 777 or 755.
Cgi scripts 755, data files 666, and configuration files 644.