Difference between revisions of "Using an FTP client to upload files"
From Joomla! Documentation
(del the Need for t9n cat) |
(Several markup changes.) |
||
Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> | <noinclude><languages /></noinclude> | ||
<translate><!--T:1--> | <translate><!--T:1--> | ||
− | + | Many hosting companies do not allow their users shell/local access to their files, so users wishing to send (upload) new files to their hosting space must make use of a File Transfer Program. [[wikipedia:FTP_client|FTP]] clients allow users to upload files that have been locally edited to a server. There are a variety clients available and [[wikipedia:Comparison_of_FTP_clients|this chart]] details the strengths of numerous programs, many of which are open source and free.</translate> | |
<translate><!--T:2--> | <translate><!--T:2--> | ||
− | If you are using Firefox, | + | If you are using Firefox, we suggest [http://fireftp.mozdev.org/ FireFTP] as a useful add-on. FireFTP will be used for this tutorial.</translate> |
<translate><!--T:3--> | <translate><!--T:3--> | ||
− | You may want enable the display of hidden files so that you don't lose your .htaccess file (on a | + | You may want enable the display of hidden files so that you don't lose your ''.htaccess'' file (on a Linux box) when you upload.</translate> |
− | |||
<translate> | <translate> | ||
Line 14: | Line 13: | ||
</translate> | </translate> | ||
<translate><!--T:5--> | <translate><!--T:5--> | ||
− | If you have a Windows Operating System | + | If you have a Windows Operating System, you can use Windows Explorer to connect to FTP. |
</translate> | </translate> | ||
− | |||
<translate> | <translate> | ||
Line 25: | Line 23: | ||
<translate><!--T:8--> | <translate><!--T:8--> | ||
− | There are many ways to launch Windows Explorer. You can either just open a folder or My Computer, or you can Hold down the | + | There are many ways to launch Windows Explorer. You can either just open a folder or My Computer, or you can Hold down the ''Windows Key'' and press ''R''. Type ''explorer.exe'' and click ''Run''.</translate> |
[[Image:Runexplorer-<translate><!--T:9--> | [[Image:Runexplorer-<translate><!--T:9--> | ||
Line 34: | Line 32: | ||
</translate> | </translate> | ||
<translate><!--T:11--> | <translate><!--T:11--> | ||
− | To connect to your FTP server, you will require the login details provided to you by your host or administrator. In the address bar, type '' | + | To connect to your FTP server, you will require the login details provided to you by your host or administrator. In the address bar, type ''<nowiki>ftp://USERNAME:PASSWORD@example.com</nowiki>'' replacing the username, password and ''example.com'' with your own credentials. If you are running Windows Vista, you may be required to double click on the address bar to enable you to enter text. Press ''Enter'' on your keyboard once you have filled out the details, and Windows Explorer will connect to your FTP server.</translate> |
<translate><!--T:12--> | <translate><!--T:12--> | ||
− | If you entered the credentials incorrectly, you will receive an error similar to | + | If you entered the credentials incorrectly, you will receive an error similar to:</translate> |
[[Image:Errorwindowsftp-<translate><!--T:13--> | [[Image:Errorwindowsftp-<translate><!--T:13--> | ||
Line 46: | Line 44: | ||
<translate><!--T:15--> | <translate><!--T:15--> | ||
− | You should see a page listing all | + | You should see a page listing all the folders/files on your server similar to the following image:</translate> |
[[Image:Connectedwindowsftp-<translate><!--T:16--> | [[Image:Connectedwindowsftp-<translate><!--T:16--> | ||
Line 52: | Line 50: | ||
<translate><!--T:17--> | <translate><!--T:17--> | ||
− | + | For security reasons, ''files/folders'' on the example screenshot has been removed</translate> | |
<translate> | <translate> | ||
− | === Transferring | + | === Transferring Files === <!--T:18--> |
</translate> | </translate> | ||
<translate><!--T:19--> | <translate><!--T:19--> | ||
− | The benefit of using Windows Explorer as your FTP application is that you will most likely be familiar with how transferring files | + | The benefit of using Windows Explorer as your FTP application is that you will most likely be familiar with how transferring files works. The interface is the same as if you were copying/moving to another folder on your computer.</translate> |
<translate><!--T:20--> | <translate><!--T:20--> | ||
− | The trick is to work out which folder you will upload the files into. In most cases, you will need to upload into a folder called '' | + | The trick is to work out which folder you will upload the files into. In most cases, you will need to upload into a folder called ''public_html'', ''htdocs'' or ''www''. Check this with your host or administrator.</translate> |
<translate><!--T:21--> | <translate><!--T:21--> | ||
− | To upload a file, simply drag the file from | + | To upload a file, simply drag the file from its original folder into the window that is connected to your FTP server. Here's an example:</translate> |
[[Image:Transferftpwin-<translate><!--T:22--> | [[Image:Transferftpwin-<translate><!--T:22--> | ||
Line 70: | Line 68: | ||
<translate> | <translate> | ||
− | === Closing | + | === Closing Your FTP Connection === <!--T:23--> |
</translate> | </translate> | ||
<translate><!--T:24--> | <translate><!--T:24--> | ||
− | To close your FTP connection, simply close the Windows Explorer window. | + | To close your FTP connection, simply close the Windows Explorer window. Press the red ''X'' on the top right hand corner of the window, as in this screenshot:</translate> |
[[Image:Closewin-<translate><!--T:25--> | [[Image:Closewin-<translate><!--T:25--> | ||
Line 88: | Line 86: | ||
</translate> | </translate> | ||
<translate><!--T:29--> | <translate><!--T:29--> | ||
− | To begin a file transfer, open FireFox then click | + | To begin a file transfer, open FireFox then click ''Tools >> FireFTP''. FireFTP will open in a new tab.</translate> |
[[Image:Fireftpmenu-<translate><!--T:30--> | [[Image:Fireftpmenu-<translate><!--T:30--> | ||
Line 94: | Line 92: | ||
<translate> | <translate> | ||
− | === Configure | + | === Configure Your FTP Details === <!--T:31--> |
</translate> | </translate> | ||
<translate><!--T:32--> | <translate><!--T:32--> | ||
− | + | The first time you connect to an FTP server, configure the FTP client to connect to the server. Obtain the details from your host or administrator.</translate> | |
<noinclude> | <noinclude> | ||
[[Category:Installation]] | [[Category:Installation]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:07, 21 October 2022
Many hosting companies do not allow their users shell/local access to their files, so users wishing to send (upload) new files to their hosting space must make use of a File Transfer Program. FTP clients allow users to upload files that have been locally edited to a server. There are a variety clients available and this chart details the strengths of numerous programs, many of which are open source and free.
If you are using Firefox, we suggest FireFTP as a useful add-on. FireFTP will be used for this tutorial.
You may want enable the display of hidden files so that you don't lose your .htaccess file (on a Linux box) when you upload.
Using Windows Explorer[edit]
If you have a Windows Operating System, you can use Windows Explorer to connect to FTP.
Launching Windows Explorer[edit]
The images that follow are taken from Windows Vista but the process remains identical.
There are many ways to launch Windows Explorer. You can either just open a folder or My Computer, or you can Hold down the Windows Key and press R. Type explorer.exe and click Run.
Connecting to FTP[edit]
To connect to your FTP server, you will require the login details provided to you by your host or administrator. In the address bar, type ftp://USERNAME:PASSWORD@example.com replacing the username, password and example.com with your own credentials. If you are running Windows Vista, you may be required to double click on the address bar to enable you to enter text. Press Enter on your keyboard once you have filled out the details, and Windows Explorer will connect to your FTP server.
If you entered the credentials incorrectly, you will receive an error similar to:
If this is the case, re-enter your user details in the boxes provided and try again.
You should see a page listing all the folders/files on your server similar to the following image:
For security reasons, files/folders on the example screenshot has been removed
Transferring Files[edit]
The benefit of using Windows Explorer as your FTP application is that you will most likely be familiar with how transferring files works. The interface is the same as if you were copying/moving to another folder on your computer.
The trick is to work out which folder you will upload the files into. In most cases, you will need to upload into a folder called public_html, htdocs or www. Check this with your host or administrator.
To upload a file, simply drag the file from its original folder into the window that is connected to your FTP server. Here's an example:
Closing Your FTP Connection[edit]
To close your FTP connection, simply close the Windows Explorer window. Press the red X on the top right hand corner of the window, as in this screenshot:
Using FireFTP[edit]
FireFTP is a great tool for FTP transfer if you use Mozilla FireFox.
Launching FireFTP[edit]
To begin a file transfer, open FireFox then click Tools >> FireFTP. FireFTP will open in a new tab.
Configure Your FTP Details[edit]
The first time you connect to an FTP server, configure the FTP client to connect to the server. Obtain the details from your host or administrator.