Technical Writing Series: Internet Using ftp.exe in Windows 95By Angie Goh Revised 2002 |
1) |
You will need to know which directory contains all your files. When you do, open a MS-DOS prompt window. For those who know how to do this, go to step 2. Otherwise, read on. |
|
a) | To open a MS-DOS prompt window, click on the Start button in your task bar. | |
b) | Move your mouse to Programs, then to MS-DOS Prompt. | |
c) | Left-click your mouse button once. | |
d) |
You will see a window like this: |
2) |
Go to the directory that contains your files. If you know how to do this, go to Step 3. Otherwise, read on. |
|
a) | If you see C:\Windows> , type cd.. . Press the Enter key. | |
b) | You will see C:\>
. Type cd <your
directory name> where <your directory name>
is the directory that your files are kept. E.g. If your files are stored in webpage directory, type cd webpage. Press the Enter key. |
3) |
Type ftp <your ftp server name>
where <your ftp server
name> is the FTP server that you wish to connect
to. |
4) |
Enter your User ID. Press the Enter key. If you are logging into servers that allows anonymous logins, type ftp. Press the Enter key. |
5) |
Enter your password. Press the Enter key. Passwords for anonymous logins usually require an email address. Type in your email address, e.g. me@myemail.com. Press the Enter key. |
6) |
After that a whole screen full of information will be displayed. Don't worry if you can't read everything. You will see a ftp> . That is equivilant to the C:\> in DOS. |
7) |
Uploading Files |
|
a) | Uploading Webpages Webpages are written using HTML. The format of these HTML files are in ASCII format which basically means that they are stored as characters, and can be viewed using a text-editor like Notepad. By default, FTP servers are in ASCII mode, so you will just need to do the following steps. If not, type ascii. If you have one file, type put *.html or put *.htm depending on your extension. You will then see a line of text explaining what is the transfer rate of your files. After which you will see the ftp> again. If you have more then one file, type mput *.html or mput *.htm depending on your extension. You will be prompted to confirm the upload of the particular file. Press the Enter key if that is the file you wish to upload. Otherwise, type the n key and press the Enter key. You will then see a line of text explaining what is the transfer rate of your files. After a few times of confirming whether to upload your files (this depends on how many files you have to upload in the first place), you will see the ftp> again. |
|
b) | Uploading text files It's the same way as you upload webpages, except you have to change the extensions from *.html or *.htm to *.txt . |
|
c) |
Uploading Images, Sounds, Movies, Java Classes, Real Audio and Real Video files These files are saved in binary mode, which means
that only the computer or web browser can understand these files. You
can't open it to see what's written. You will have to set the mode before
uploading the file. |
8) |
Downloading Files |
|
a) | Downloading Webpages Webpages are written using HTML. The format of these HTML files are in ASCII format which basically means that they are stored as characters, and can be viewed using a text-editor like Notepad. By default, FTP servers are in ASCII mode, so you will just need to do the following steps. If not, type ascii. If you have one file, type get *.html or get *.htm depending on your extension. You will then see a line of text explaining what is the transfer rate of your files. After which you will see the ftp> again. If you have more then one file, type mget *.html or mget *.htm depending on your extension. You will be prompted to confirm the download of the particular file. Press the Enter key if that is the file you wish to download. Otherwise, type the n key and press the Enter key. You will then see a line of text explaining what is the transfer rate of your files. After a few times of confirming whether to download your files (this depends on how many files you have to download in the first place), you will see the ftp> again. |
|
b) | Downloading text files It's the same way as you upload webpages, except you have to change the extensions from *.html or *.htm to *.txt . |
|
c) |
Downloading Images, Sounds, Movies, Java Classes, Real Audio and Real Video files These files are saved in binary mode, which means
that only the computer or web browser can understand these files. You
can't open it to see what's written. You will have to set the mode before
uploading the file. |
9) |
After you have finished uploading and/or downloading, type bye to exit. |
10) |
You will then see the C:<your directory name>\>. Then type exit to go back to Windows 95. |
Related Articles | |
FTP Commands in a Nutshell by Angie Goh |
Provides a summary of all the commands for a simple FTP session |
Using a Script to Perform FTP Functions |
Provides yet an ingenious way to use a file to execute ftp.exe commands |
Other FTP Commands by Angie Goh |
Provides a summary of other useful and helpful commands in ftp.exe |
FTP Glossary by Angie Goh |
Provides a glossary of the terms used in all the ftp.exe related articles |
Copyright 1997 - 2003. Angie Goh c/o Angie's
Life Book. All Rights Reserved.
Material written on this page is original.
Windows, DOS, Unix are copyrighted names of their various authors.
Please email if you wish to link here.
Please do not copy material here without consent.