The Interstellar Logic

 OS's
 o Windows
 o Macintosh
 o Linux
 o Amiga

 Applications
 o Mail Clients
 o FTP Clients
 o Antivirus
 o Firewall

 Additional
 o Hyperterminal
 o The Registry
 o Spyware
 o Telnet

Telnet and Stuff

POP Server
SMTP Server
FTP Server
FTP Commands

POP Server

Start by clicking onto Start then Run.   In the text field, enter the following command:

telnet

And press Enter.   To connect to testisp.net's server and recieve mail, we will need to use port 110.   This can be simplified by:

open pop.testisp.net 110

You will get a message that reads as +OK POP3 PROXY server ready followed by a load of jargon and a flashing cursor.   Enter your username in this format:

user user.name

And you will then see the message +OK Password required.   So we will enter the password as such:

pass password

And you will now be logged into your mailbox!   These are a few commands for reading mail via telnet:

  • list - lists mail on the server
  • dele - to delete a certain email*
  • top - to read a few lines of mail**
  • quit - quit the connection to server

*dele 3 would delete the 3rd mail in your inbox
**top 1 10 would list the first 10 lines of mail 1

SMTP Server

As before, open up telnet by going into Start > Run, entering telnet and pressing Enter.   This time, we'll type in:

open smtp.testisp.net 25

A new prompt will open up - at this point, type in helo and press Enter.   Now follow these instructions to send mail via Telnet:

  • Type in mail from:username@testisp.net then press Enter
  • Type in rcpt to:mymate@testisp.org then press Enter
  • Type in data and press Enter
  • Type in subject:test and press Enter
  • Type in to:myfreind and press Enter
  • Type in from:me and press Enter

Type in the body of your message and end it with <CRLF>.<CRLF> and press Enter.

FTP Server

To start FTP, simply open a command prompt and type in ftp and press Enter.   You will then be presented with:

ftp> _

At the ftp prompt, type in the open followed by the ftp server name:

e.g. - open upload.ispdomain.com

You should now get a message like:

220 upload.ispdomain.com FTP server ready
User (upload.ispdomain.com:(none)): _

At the prompt, enter your username.   You will then see the following:

User (upload.ispdomain.com:(none)): user.name
331 Password required for user.name
Password: _

The password will not be visible in any means - make sure you type it in correctly.   Once you are logged in, you will be taken back to the ftp prompt where you can upload, download, edit and delete files on the server.

FTP Commands

Here are a few useful commands for ftp:

I. Opening and closing connection

  • ftp - starts an FTP session
  • open hostname - connects to the specified host
  • close - closes the connection (but not the FTP session!)
  • quit - terminates the FTP session

II. Browsing on a remote machine

  • dir - gives a full directory listing on the remote machine
  • dir test* - displays only files and directories whose name begins with "test..."
  • ls - same as dir, but provides a simplified listing of filenames

III. Directories in FTP

  • pwd - prints the name of the current remote directory
  • cd remote-directory - changes working directory on remote host
  • cd .. - moves up one level in the directory structure on the remote host
  • lcd directory - changes the default directory on local host

IV. Types of files

  • binary - type this command at the FTP prompt to set binary mode before transferring binary files.
  • ascii - type this command at the FTP prompt to set ASCII mode before transferring text files.
  • Use the ASCII mode with any of the following:

V. Transferring files

  • get test - copies file "test" from remote to local host (from current remote directory to current local directory)
  • mget test.* data.dbf - copies files beginning with "test" and the file named data.dbf from remote to local host
  • put test - copies file "test" from local to remote host. You musth have write access to the remove host for this to work.
  • mput test.* data.dbf - copies files beginning with "test" and the file named data.dbf from local to remote host
  • quit - closes connection and terminates FTP session

If a file name contains spaces, you should type the file name in quotation marks.   However, it is strongly recommended to rename such files before FTPing them.

VI. Other Commands

  • get test "| more" - displays file "test"
    To make sure you want a document, you can display it with the
    more command and see the file screen by screen (using the space bar) BEFORE you get a file. To exit out of more , type q.
  • prompt - turns off prompting for individual files when using the mget or mput commands.
  • If you have mistyped your username or password, use the user command to re-login.
  • For a list of all FTP commands type ? at the ftp> prompt.
  • For a brief explanation of a command, type help, leave a space,and type the command itself.

Content questions? Click Here.

Technical questions? Click here.

© The Interstellar Logic 2005