User Guide - Accessing the Web

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Added minor coverage of scp and sftp)
 
(4 intermediate revisions by one user not shown)
Line 2: Line 2:
 
[[Category:User Guide]]
 
[[Category:User Guide]]
  
Fedora uses '''Mozilla Firefox''' by default in Gnome and '''Konqueror''' in KDE to access the World Wide Web (''Web'').
+
Fedora uses '''Mozilla Firefox''' by default in Gnome and '''Konqueror''' in KDE to access the World Wide Web (''Web'').  There are many other browsers available to suit different users' needs. '''Dillo''' is an example of a lightweight browser, and browsers such as '''lynx''', '''w3m''', and '''elinks''' are console based.
  
Beyond being excellent, standards compliant web browsers, '''Firefox''' and '''Konqueror''' have many features. This chapter explains how to use some of the more popular features, and provides links to further information.
+
Besides being standards-compliant web browsers, '''Firefox''' and '''Konqueror''' have many features beyond basic web browsing. This chapter explains how to use some of the more popular features, and provides links to further information.
  
== Using Firefox ==
+
The internet can also be used to transfer files.  This chapter covers different methods of doing this using graphical applications as well as the command line.  If you wish to transfer files using email, then you should probably read [[User Guide - Communications| the chapter on communications]] instead.  This is often the best choice for smaller files such as pictures and documents.
  
=== GNOME ===
+
== Browing Webpages ==
To start '''Firefox''' in GNOME, select ''Applications > Internet > Firefox Web Browser'' or use the menu panel icon:
+
  
[[Image:Docs_Drafts_DesktopUserGuide_Web_firefoxicon.png]]
+
Firefox and Konqueror are the suggested web browsers for most users.  If you require a more lightweight browser (especially if you are using a slower system), you may want to try '''Dillo'''.  If you are using the command line, then you may want to use '''lynx''', '''w3m''', or '''elinks'''.  None of these programs are installed in Fedora by default, but can be installed using the instructions in [[User Guide - Managing Software| the chapter on managing software]].
  
=== KDE ===
+
=== Using Firefox ===
To start '''Firefox''' in KDE, select ''KMenu > Applications > Internet > Firefox Web Browser'':
+
  
[[Image:Docs_Drafts_DesktopUserGuide_Web_firefoxicon.png]]
+
To start '''Firefox''' in GNOME, select ''Applications > Internet > Firefox Web Browser'' or use the menu panel icon.  To start '''Firefox''' in KDE, select ''KMenu > Applications > Internet > Firefox Web Browser''.
  
=== Navigating The Web ===
+
{| border="1"
 +
|-
 +
|[[Image:Docs_Drafts_DesktopUserGuide_Web_firefoxicon.png]]||This is the default icon associated with '''Firefox'''.
 +
|}
  
Fedora starts '''Firefox''' with a custom default home page that has links to useful Fedora-related sites.  Navigate to other web pages by typing the address (''URL'') into the long navigation bar across the top of the '''Firefox''' screen, replacing the default "http://start.fedoraproject.org".
+
==== Navigating The Web ====
  
If the URL is not known, enter a keyword (or words) into the search bar on the right of the navigation bar, then press the '''[ENTER] ''' key. The search engine used is changed by left-clicking the logo in the search box, presenting a list of pre-configured options including Google, Yahoo, eBay, Amazon, and Creative Commons.
+
Fedora starts '''Firefox''' with a default home page that has links to useful Fedora-related sites.  Navigate to other web pages by typing the web address - also called the univeral resource locator, or URL - into the long navigation bar across the top of the '''Firefox''' screen, replacing "http://start.fedoraproject.org".
  
Like other web browsers, '''Firefox''' makes it possible to save a web page for future reference by adding a ''bookmark'' to a list of bookmarks. Use the key combination '''[Ctrl] [d] ''' to bookmark a page you are viewing. To manage bookmarks, or do other actions such as bookmarking all open tabs, use the ''Bookmark'' menu from the top of the '''Firefox''' window. Create a ''live bookmark'' (a ''feed'') that automatically checks for updates from a page with an ''RSS'' or ''Atom'' feed. When a feed is available there is an orange icon at the right hand edge of the address bar. Left click the feed icon and a preview of the feed is displayed. Select the method you would like to use to subscribe to the feed.
+
If the URL is not known, enter a keyword (or words) into the search bar to the right of the navigation bar, then press the '''[ENTER] ''' key.  The search engine used to perform your search can be changed by left-clicking the logo in the search box.  You will be presented with a list of options including Google, Yahoo, eBay, Amazon, and Creative Commons.
 +
 
 +
Like other web browsers, '''Firefox''' makes it possible to save a web page for future reference by adding it to a list of ''bookmarks''. Use the key combination '''[Ctrl] [d] ''' to bookmark a page you are viewing. To manage bookmarks, use the ''Bookmark'' menu from the top of the '''Firefox''' window. You can also create a ''live bookmark'' (a ''feed'') that automatically checks for updates from a page with an ''RSS'' or ''Atom'' feed. If a feed is available for a particular web page, there will be an orange icon at the right hand edge of the address bar while you are visiting that page. Left click the feed icon and a preview of the feed is displayed. Select the method you would like to use to subscribe to the feed.
  
 
{{Admon/tip | Use your favorite feed reader | Firefox can use a number of popular web-based options for subscribing to feeds, such as Bloglines, My Yahoo, and Google Reader, as well as '''Firefox's''' own live bookmarks.  Another option is to use a desktop feed reader you have installed, such as '''Liferea'''.}}
 
{{Admon/tip | Use your favorite feed reader | Firefox can use a number of popular web-based options for subscribing to feeds, such as Bloglines, My Yahoo, and Google Reader, as well as '''Firefox's''' own live bookmarks.  Another option is to use a desktop feed reader you have installed, such as '''Liferea'''.}}
  
=== Tabs ===
+
==== Tabs ====
  
 
Open a new tab with '''[Ctrl] [t] '''. A blank page is presented and a new bar is available under the navigation bar showing all open tabs; to switch between them left-click the desired tab. To close a tab you can either right click to access the ''context menu'' or press the red "X" on the tab.
 
Open a new tab with '''[Ctrl] [t] '''. A blank page is presented and a new bar is available under the navigation bar showing all open tabs; to switch between them left-click the desired tab. To close a tab you can either right click to access the ''context menu'' or press the red "X" on the tab.
Line 34: Line 37:
 
Navigating a large number of open tabs can be difficult. To make it easier, use the arrow icon on the right hand side of the tabs toolbar. Click this to reveal a list of all open tabs that you can switch to by clicking on the relevant item.
 
Navigating a large number of open tabs can be difficult. To make it easier, use the arrow icon on the right hand side of the tabs toolbar. Click this to reveal a list of all open tabs that you can switch to by clicking on the relevant item.
  
=== Extensions ===
+
==== Extensions ====
  
'''Firefox''' is designed to be fast and lightweight. As a result some functionality found in other browsers may not be available by default. To solve this problem the '''Firefox''' team made the browser extensible, making it easy to create and integrate ''extensions'' that add new functionality to the browser.
+
'''Firefox''' is designed to be moderately fast and lightweight. As a result, some functionality found in other browsers may not be available by default. To solve this problem the '''Firefox''' team made the browser extensible, so it easy to create and integrate ''extensions'' that add new functionality to the browser.
  
 
{{Admon/tip | Themes, plugins and search engines | '''Firefox''' can also be extended by adding new search engines to the search box, installing new themes to customize the look, and installing new plugins allowing the use of Java and other web technologies. All of these can be found at Mozilla's '''Firefox''' add-ons site.}}
 
{{Admon/tip | Themes, plugins and search engines | '''Firefox''' can also be extended by adding new search engines to the search box, installing new themes to customize the look, and installing new plugins allowing the use of Java and other web technologies. All of these can be found at Mozilla's '''Firefox''' add-ons site.}}
  
To manage and install extensions, plug-ins, and themes, select the ''Tools > Add-ons'' menu entry. New extensions are found by visiting https://addons.mozilla.org/en-US/firefox/. To install an extension from this site follow the ''Install'' link, and when prompted click ''Install Now''.
+
To manage and install extensions, plug-ins, and themes, select the ''Tools > Add-ons'' menu entry. New extensions are found by visiting [https://addons.mozilla.org/en-US/firefox/| the Firefox add-on site]. To install an extension from this site follow the ''Install'' link, and when prompted click ''Install Now''.
 +
 
 +
==== Further Reading ====
 +
 
 +
'''Firefox''' has many more features than discussed here; you can find more information on '''Firefox''' at [http://www.mozilla.org/support/firefox/| the Mozilla Firefox website].
 +
 
 +
=== Using Konqueror ===
 +
 
 +
To start '''Konqueror''' in KDE, select ''KMenu > Applications > Internet > Konqueror'' or select ''KMenu > Favorites > Web Browser.  To start '''Konqueror''' in GNOME, select ''Applications > Internet > Konqueror''.
 +
 
 +
{| border="1"
 +
|-
 +
|[[Image:Docs_Drafts_DesktopUserGuide_Web_konqueror.png]]||This is the default icon associated with '''Konqueror'''.
 +
|}
 +
 
 +
{{Admon/tip | Konqueror is not installed by default | If you only have Gnome installed, the Konqueror browser is not installed by default.  You may install Konqueror if you wish, as well as several other browsers.  Konqueror is installed by default if you have installed KDE.  See [[User Guide - Managing Software|the chapter on managing software]].}}
 +
 
 +
== Transferring Files ==
 +
{{Admon/important|Advanced Usage|This content is written for the more advanced user.  It assumes that you are comfortable with the command line and have a relatively good knowledge of Linux terminology.  It is probably not necessary to using Fedora as a desktop user, but can help a desktop user expand his or her knowledge base and face more complicated troubleshooting issues.}}
 +
 
 +
Fedora includes several programs for transferring files between different computers on the same network (or on the Internet).  On of the most common methods is called the ''File Transfer Protocol (FTP)''.  There are several graphical programs available to use FTP, including '''Filezilla''' and '''gFTP'''.  You can also use the command line utilities '''ftp''', '''lftp''', and '''sftp'''.
 +
 
 +
{{admon/warning|FTP is insecure|If you are transferring files over a public network (such as the Internet), you may not want to use FTP.  FTP transfers can be easily intercepted, and FTP data is not encrypted.  For more security, use SFTP, which encrypts your data over SSH.}}
 +
 
 +
=== Using FileZilla ===
 +
Filezilla is an application that allows you to transfer files over FTP using a simple graphical interface.  Like many FTP applications, it has two important panes: a file browser for your local machine, and a file browser for the remote machine.  This way, you can browse to a file on a remote server and drag-and-drop it to a folder on your local host.
 +
 
 +
{{admon/tip|FTP with web browsers|If you don't need to send a file, but only retrieve it, you can use '''Firefox''', '''Konqueror''', and many other web browsers.  Just browse to the ftp server in the address bar, and make sure to specify that you want to use FTP.  Generically, you would type <nowiki>ftp://ftp.server.com</nowiki>, where ftp.server.com is the address of your FTP server.}}
 +
 
 +
To install the package '''filezilla''', read [[User Guide - Managing Software|the chapter on managing software]].  You can install '''filezilla''' by either [[User Guide - Managing Software#Installing Software|using the PackageKit application]] or on the command line by [[User Guide - Managing Software#Installing Software 2|using Yum]].  More information about FileZilla is available at: http://filezilla-project.org/.
 +
 
 +
{| border="1"
 +
|-
 +
|[[Image:User_Guide_-_Filezilla_Icon.png]]||This is the default icon associated with '''FileZilla'''.
 +
|}
 +
 
 +
==== Connecting to a Server ====
 +
To connect to an FTP server in FileZilla, you must add the server to your ''Site Manager''.  You can open the Site Manager dialog in three ways:
 +
* Click on ''File > Site Manager'',
 +
* Click the first icon to the left on the tool bar, or
 +
* Use the keyboard shortcut '''[ Ctrl ] + S'''.
 +
When the Site Manager dialog is open, click the ''New Site'' button.  The first thing FileZilla will want to know is the name that you want to use to refer to this server.  There will be a text entry box under '''My Sites''' on the left side of the dialog.  Here, type whatever name you want to use to refer to the new server.  This name doesn't have any technical implications; choose something convenient for you.
 +
 
 +
On the right side of the dialog box, you will need to enter the following information:
 +
;Host: This is the address of the server.  If the server has a URL (such as <nowiki>ftp.server.com</nowiki>), you can type it in here.  Otherwise, you'll need to type in the IP address.  An IP address is of the form A.B.C.D, where A, B, C, and D are integer values between 0 and 255 (inclusive).  The server you are connecting to should provide you with this information.
 +
;Port: You only need to fill in a value for this field if the server does not use the default (port 21 for FTP, 22 for SFTP).
 +
;Servertype: Here, you can choose FTP, SFTP, FTPS, or FTPES.  Only FTP and SFTP will be discussed here.
 +
;Logontype: This field allows you to choose how you will authenticate with the server.  This information should be provided by the server you are trying to connect to.
 +
;User, Password, Account: These fields will only be active if you user certain Logontypes.  If they are active, you should use them for your username, password, and account on the remote server.
 +
;Comments: This field has no technical relevance.  It may be convenient for you to make a note of something about the server here.
 +
 
 +
When you have filled out the fields, click '''[ OK ]''' to close the Site Manager or '''[ Connect ]''' to close the Site Manager and then connect to the FTP server immediately.  Pressing '''[ Cancel ]''' will ignore any changes you made to the Site Manager and close the dialog.
  
== Using Konqueror ==
+
To connect to a server later on that you have already added to Site Manager, simply open the Site Manager, click on the server you want to connect to, and click '''[ Connect ]'''.
  
=== GNOME ===
+
==== Transferring Files ====
To start '''Konqueror''' in GNOME, select ''Applications > Internet > Konqueror'' :
+
If you connect to a server successfully, you should see some status messages appear in the top pane indicating that you have connected to the remote server.  The right-hand file browser pane should also display the contents of the remote directory you connected to. 
  
[[Image:Docs_Drafts_DesktopUserGuide_Web_konqueror.png]]
+
To transfer a file, simply drag-and-drop it from one file browser into the folder of the other file browser.  You can also select a file in one pane, a folder in the other, and click the appropriate arrow button to transfer the file.
  
{{Admon/tip | Konqueror is not installed by default | If you only have Gnome installed, the Konqueror browser is not installed by default.  You may install Konqueror if you wish, as well as several other browsersKonqueror is installed by default if you have installed KDE.}}
+
=== FTP on the Command Line ===
 +
To use the '''ftp''' program, type <code>ftp</code> at a console prompt.  You should be put into an FTP shell that looks like this:
 +
<pre>ftp> </pre>
 +
To get a list of commands, type <code>help</code>To get a simple description of any command, type <code>help command</code>.  This guide will only cover a fraction of these commands; read about the rest in the '''ftp''' man page.
  
=== KDE ===
+
==== Connecting to an FTP Server ====
To start '''Konqueror''' in KDE, select ''KMenu > Applications > Internet > Konqueror'' or select ''KMenu > Favorites > Web Browser:
+
To login to an ftp server, use the <code>open</code> command.  The syntax is
 +
<pre>ftp> open ftp.server.com port</pre>
 +
Where <code>ftp.server.com</code> is the FTP server you wish to connect to.  It is not necessary to specify a port with this command unless you are connecting to a non-default port.  The default port for FTP is port 21.  Alternatively, you can connect to an FTP server as you start the '''ftp''' program.  To do this, use the syntax
 +
<pre>ftp ftp.server.com port</pre>
 +
Where the <code>port</code> option is, again, optional.
  
[[Image:Docs_Drafts_DesktopUserGuide_Web_konqueror.png]]
+
==== Managing Files ====
 +
Oftentimes, FTP is used to retrieve a file from a public server.  You can pull this file from the server by using the <code>get file</code> command, where <code>file</code> is the name or path of the file you want to retrieve.  To view all the files in the directory you have connected to, you can use the <code>ls</code> command.  You can also use <code>pwd</code> to determine which directory you are currently in, and then <code>cd</code> to change your directory.
  
== Going Further ==
+
To send a file to the server, type <code>put file</code>, where file is the name or path of the file you wish to send.  To view all the files in your local directory (not the remote FTP server), type <code>lcd</code>.  You can also type <code>lcd directory</code> to change to a new directory on your local machine.
  
'''Firefox''' has many more features than discussed here; you can find more information on '''Firefox''' at:
+
==== SFTP on the Command Line ====
 +
Secure FTP, or SFTP, is an encrypted version of FTP.  It connects over to the remote server through a secure socket layer, like SSH.  This means that it is a much more secure solution than traditional FTP.  Use the commend <code>sftp</code> to start the client.  The syntax is nearly identical to the syntax for FTP.
  
[http://www.mozilla.org/support/firefox/ | The Mozilla/Firefox website.]
+
==== Secure Copy: SCP ====
 +
Another option for transferring files between two computer with SSH is using the command <code>scp</code>.  This attempts to use the same syntax as the tradition copy command (<code>cp</code>), but differs in that you can specify remote servers. For example, to send a file to a remote server, type:
 +
<pre>$ scp localFile user@server:/destination/directory/</pre>
 +
You can similarly fetch a file:
 +
<pre>$ scp user@server:/path/to/wantedfile destinationFile</pre>
 +
Or even between two remote servers:
 +
<pre>$ scp user1@server1:/path/to/source user2@server2:/path/to/destination</pre>
 +
In every case that you access a remote server, you will be prompted for your credentials (such as a username and password).
  
 
{|
 
{|

Latest revision as of 00:19, 4 March 2009


Fedora uses Mozilla Firefox by default in Gnome and Konqueror in KDE to access the World Wide Web (Web). There are many other browsers available to suit different users' needs. Dillo is an example of a lightweight browser, and browsers such as lynx, w3m, and elinks are console based.

Besides being standards-compliant web browsers, Firefox and Konqueror have many features beyond basic web browsing. This chapter explains how to use some of the more popular features, and provides links to further information.

The internet can also be used to transfer files. This chapter covers different methods of doing this using graphical applications as well as the command line. If you wish to transfer files using email, then you should probably read the chapter on communications instead. This is often the best choice for smaller files such as pictures and documents.

Contents

[edit] Browing Webpages

Firefox and Konqueror are the suggested web browsers for most users. If you require a more lightweight browser (especially if you are using a slower system), you may want to try Dillo. If you are using the command line, then you may want to use lynx, w3m, or elinks. None of these programs are installed in Fedora by default, but can be installed using the instructions in the chapter on managing software.

[edit] Using Firefox

To start Firefox in GNOME, select Applications > Internet > Firefox Web Browser or use the menu panel icon. To start Firefox in KDE, select KMenu > Applications > Internet > Firefox Web Browser.

Docs Drafts DesktopUserGuide Web firefoxicon.png This is the default icon associated with Firefox.

[edit] Navigating The Web

Fedora starts Firefox with a default home page that has links to useful Fedora-related sites. Navigate to other web pages by typing the web address - also called the univeral resource locator, or URL - into the long navigation bar across the top of the Firefox screen, replacing "http://start.fedoraproject.org".

If the URL is not known, enter a keyword (or words) into the search bar to the right of the navigation bar, then press the [ENTER] key. The search engine used to perform your search can be changed by left-clicking the logo in the search box. You will be presented with a list of options including Google, Yahoo, eBay, Amazon, and Creative Commons.

Like other web browsers, Firefox makes it possible to save a web page for future reference by adding it to a list of bookmarks. Use the key combination [Ctrl] [d] to bookmark a page you are viewing. To manage bookmarks, use the Bookmark menu from the top of the Firefox window. You can also create a live bookmark (a feed) that automatically checks for updates from a page with an RSS or Atom feed. If a feed is available for a particular web page, there will be an orange icon at the right hand edge of the address bar while you are visiting that page. Left click the feed icon and a preview of the feed is displayed. Select the method you would like to use to subscribe to the feed.

Idea.png
Use your favorite feed reader
Firefox can use a number of popular web-based options for subscribing to feeds, such as Bloglines, My Yahoo, and Google Reader, as well as Firefox's own live bookmarks. Another option is to use a desktop feed reader you have installed, such as Liferea.

[edit] Tabs

Open a new tab with [Ctrl] [t] . A blank page is presented and a new bar is available under the navigation bar showing all open tabs; to switch between them left-click the desired tab. To close a tab you can either right click to access the context menu or press the red "X" on the tab.

Navigating a large number of open tabs can be difficult. To make it easier, use the arrow icon on the right hand side of the tabs toolbar. Click this to reveal a list of all open tabs that you can switch to by clicking on the relevant item.

[edit] Extensions

Firefox is designed to be moderately fast and lightweight. As a result, some functionality found in other browsers may not be available by default. To solve this problem the Firefox team made the browser extensible, so it easy to create and integrate extensions that add new functionality to the browser.

Idea.png
Themes, plugins and search engines
Firefox can also be extended by adding new search engines to the search box, installing new themes to customize the look, and installing new plugins allowing the use of Java and other web technologies. All of these can be found at Mozilla's Firefox add-ons site.

To manage and install extensions, plug-ins, and themes, select the Tools > Add-ons menu entry. New extensions are found by visiting the Firefox add-on site. To install an extension from this site follow the Install link, and when prompted click Install Now.

[edit] Further Reading

Firefox has many more features than discussed here; you can find more information on Firefox at the Mozilla Firefox website.

[edit] Using Konqueror

To start Konqueror in KDE, select KMenu > Applications > Internet > Konqueror or select KMenu > Favorites > Web Browser. To start Konqueror in GNOME, select Applications > Internet > Konqueror.

Docs Drafts DesktopUserGuide Web konqueror.png This is the default icon associated with Konqueror.
Idea.png
Konqueror is not installed by default
If you only have Gnome installed, the Konqueror browser is not installed by default. You may install Konqueror if you wish, as well as several other browsers. Konqueror is installed by default if you have installed KDE. See the chapter on managing software.

[edit] Transferring Files

Important.png
Advanced Usage
This content is written for the more advanced user. It assumes that you are comfortable with the command line and have a relatively good knowledge of Linux terminology. It is probably not necessary to using Fedora as a desktop user, but can help a desktop user expand his or her knowledge base and face more complicated troubleshooting issues.

Fedora includes several programs for transferring files between different computers on the same network (or on the Internet). On of the most common methods is called the File Transfer Protocol (FTP). There are several graphical programs available to use FTP, including Filezilla and gFTP. You can also use the command line utilities ftp, lftp, and sftp.

Warning (medium size).png
FTP is insecure
If you are transferring files over a public network (such as the Internet), you may not want to use FTP. FTP transfers can be easily intercepted, and FTP data is not encrypted. For more security, use SFTP, which encrypts your data over SSH.

[edit] Using FileZilla

Filezilla is an application that allows you to transfer files over FTP using a simple graphical interface. Like many FTP applications, it has two important panes: a file browser for your local machine, and a file browser for the remote machine. This way, you can browse to a file on a remote server and drag-and-drop it to a folder on your local host.

Idea.png
FTP with web browsers
If you don't need to send a file, but only retrieve it, you can use Firefox, Konqueror, and many other web browsers. Just browse to the ftp server in the address bar, and make sure to specify that you want to use FTP. Generically, you would type ftp://ftp.server.com, where ftp.server.com is the address of your FTP server.

To install the package filezilla, read the chapter on managing software. You can install filezilla by either using the PackageKit application or on the command line by using Yum. More information about FileZilla is available at: http://filezilla-project.org/.

User Guide - Filezilla Icon.png This is the default icon associated with FileZilla.

[edit] Connecting to a Server

To connect to an FTP server in FileZilla, you must add the server to your Site Manager. You can open the Site Manager dialog in three ways:

  • Click on File > Site Manager,
  • Click the first icon to the left on the tool bar, or
  • Use the keyboard shortcut [ Ctrl ] + S.

When the Site Manager dialog is open, click the New Site button. The first thing FileZilla will want to know is the name that you want to use to refer to this server. There will be a text entry box under My Sites on the left side of the dialog. Here, type whatever name you want to use to refer to the new server. This name doesn't have any technical implications; choose something convenient for you.

On the right side of the dialog box, you will need to enter the following information:

Host
This is the address of the server. If the server has a URL (such as ftp.server.com), you can type it in here. Otherwise, you'll need to type in the IP address. An IP address is of the form A.B.C.D, where A, B, C, and D are integer values between 0 and 255 (inclusive). The server you are connecting to should provide you with this information.
Port
You only need to fill in a value for this field if the server does not use the default (port 21 for FTP, 22 for SFTP).
Servertype
Here, you can choose FTP, SFTP, FTPS, or FTPES. Only FTP and SFTP will be discussed here.
Logontype
This field allows you to choose how you will authenticate with the server. This information should be provided by the server you are trying to connect to.
User, Password, Account
These fields will only be active if you user certain Logontypes. If they are active, you should use them for your username, password, and account on the remote server.
Comments
This field has no technical relevance. It may be convenient for you to make a note of something about the server here.

When you have filled out the fields, click [ OK ] to close the Site Manager or [ Connect ] to close the Site Manager and then connect to the FTP server immediately. Pressing [ Cancel ] will ignore any changes you made to the Site Manager and close the dialog.

To connect to a server later on that you have already added to Site Manager, simply open the Site Manager, click on the server you want to connect to, and click [ Connect ].

[edit] Transferring Files

If you connect to a server successfully, you should see some status messages appear in the top pane indicating that you have connected to the remote server. The right-hand file browser pane should also display the contents of the remote directory you connected to.

To transfer a file, simply drag-and-drop it from one file browser into the folder of the other file browser. You can also select a file in one pane, a folder in the other, and click the appropriate arrow button to transfer the file.

[edit] FTP on the Command Line

To use the ftp program, type ftp at a console prompt. You should be put into an FTP shell that looks like this:

ftp> 

To get a list of commands, type help. To get a simple description of any command, type help command. This guide will only cover a fraction of these commands; read about the rest in the ftp man page.

[edit] Connecting to an FTP Server

To login to an ftp server, use the open command. The syntax is

ftp> open ftp.server.com port

Where ftp.server.com is the FTP server you wish to connect to. It is not necessary to specify a port with this command unless you are connecting to a non-default port. The default port for FTP is port 21. Alternatively, you can connect to an FTP server as you start the ftp program. To do this, use the syntax

ftp ftp.server.com port

Where the port option is, again, optional.

[edit] Managing Files

Oftentimes, FTP is used to retrieve a file from a public server. You can pull this file from the server by using the get file command, where file is the name or path of the file you want to retrieve. To view all the files in the directory you have connected to, you can use the ls command. You can also use pwd to determine which directory you are currently in, and then cd to change your directory.

To send a file to the server, type put file, where file is the name or path of the file you wish to send. To view all the files in your local directory (not the remote FTP server), type lcd. You can also type lcd directory to change to a new directory on your local machine.

[edit] SFTP on the Command Line

Secure FTP, or SFTP, is an encrypted version of FTP. It connects over to the remote server through a secure socket layer, like SSH. This means that it is a much more secure solution than traditional FTP. Use the commend sftp to start the client. The syntax is nearly identical to the syntax for FTP.

[edit] Secure Copy: SCP

Another option for transferring files between two computer with SSH is using the command scp. This attempts to use the same syntax as the tradition copy command (cp), but differs in that you can specify remote servers. For example, to send a file to a remote server, type:

$ scp localFile user@server:/destination/directory/

You can similarly fetch a file:

$ scp user@server:/path/to/wantedfile destinationFile

Or even between two remote servers:

$ scp user1@server1:/path/to/source user2@server2:/path/to/destination

In every case that you access a remote server, you will be prompted for your credentials (such as a username and password).

Previous Page - Connecting to the Internet Table of Contents Next Page - Communications (Email, IM)