Template:Extract and Upload: Difference between revisions From Online Manual

Jump to: navigation, search
mNo edit summary
(28 intermediate revisions by 7 users not shown)
Line 2: Line 2:
* install (''default'')
* install (''default'')
* upgrade
* upgrade
<br />
</noinclude><onlyinclude>==Extract the SMF Archive and Upload the Files to Your Website==


</noinclude>==Extract and Upload the {{ucfirst:{{{1|install}}}}} Archive==
The SMF {{lcfirst:{{{1|install}}}}} archive contains files that need to be copied to the correct place on your website before the {{#if: {{{1|}}}|{{#ifeq: {{lcfirst:{{{1}}}}}|upgrade|upgrader|installer}}|installer}} can be executed. Wherever these files are located on the server, that is where your forum will be located. [[Installing#Extracting Before Uploading|Extracting before uploading]] is usually the simplest method. If your host provides the necessary tools, you can try [[Installing#Uploading Before Extracting|uploading before extracting]].
Once the {{lcfirst:{{{1|install}}}}} archive has been downloaded, it will need to be uploaded and extracted before the {{#if: {{{1|}}}|{{#ifeq: {{lcfirst:{{{1}}}}}|upgrade|upgrader|installer}}|installer}} can be executed. There are two methods for this step. The method used will depend on the tools available with the control panel supplied by your hosting service. Please ensure you upload in binary if using an FTP client.


{{#if: {{{1|}}}|{{#ifeq: {{lcfirst:{{{1}}}}}|upgrade|The extracted files from the large upgrade pack must be uploaded to the same directory the forum is located, such as /forum/, so that all the files will overwrite the corresponding previous version on the server.|SMF can be uploaded to the site root, or to a directory on the site, such as www.yourdomain.com/forum}}|SMF can be uploaded to the site root, or to a directory on the site, such as www.yourdomain.com/forum}}
You will need to use either [[FTP - How do I use FTP|FTP]] (in binary mode) or the tools in your hosting account's control panel (for more information on the control panel supplied by your hosting service, please see the documentation provided by your hosting service).
 
{{#if: {{{1|}}}|
  {{#switch: {{lcfirst:{{{1}}}}}
    |upgrade
    |#default=SMF can be uploaded to the site root, or to a directory on the site, such as ''www.yourdomain.com/forum''.
  }}
  |SMF can be uploaded to the site root, or to a directory on the site, such as ''www.yourdomain.com/forum''.
}}
 
===Extracting Before Uploading===
 
This is the way most people do it. It is easy, but can take longer.
 
#Extract the archive, usually by right-clicking the archive and selecting the "Extract All" option. When the {{lcfirst:{{{1|install}}}}} archive is extracted, a new folder should be created with all the files and directories in the correct places.
#Set your FTP client for binary transfer, select all the files and folders and copy them to the directory where you want to locate your forum.


===Uploading Before Extracting===
===Uploading Before Extracting===
Some control panels have the ability to extract an archive, such as cPanel. This allows for hassle free uploading and extraction of the archive. Once the archive is uploaded, select the extract option to extract the archive to the desired location.


===Extracting Before Uploading===
Some control panels, such as [http://en.wikipedia.org/wiki/CPanel cPanel], give the ability to extract an archive right on the server. This can be a quicker than waiting for all the extracted files to copy via FTP. First, upload the file via your account's control panel. Second, select the extract option to extract the archive to the desired location -- the directory where you want your forum to be located.</onlyinclude>
If extracting abilities are not available inside the control panel, the archive can be extracted before uploading. Generally, right-clicking the archive and selecting the "Extract All" option will work. The directory structure should be retained when the {{lcfirst:{{{1|install}}}}} archive is extracted, so all files and directories are in the correct places.

Revision as of 11:06, 23 April 2015

This common text is used in both the install and upgrade articles. 1 numbered parameter, the possible values are:

  • install (default)
  • upgrade


Extract the SMF Archive and Upload the Files to Your Website

The SMF install archive contains files that need to be copied to the correct place on your website before the installer can be executed. Wherever these files are located on the server, that is where your forum will be located. Extracting before uploading is usually the simplest method. If your host provides the necessary tools, you can try uploading before extracting.

You will need to use either FTP (in binary mode) or the tools in your hosting account's control panel (for more information on the control panel supplied by your hosting service, please see the documentation provided by your hosting service).

SMF can be uploaded to the site root, or to a directory on the site, such as www.yourdomain.com/forum.

Extracting Before Uploading

This is the way most people do it. It is easy, but can take longer.

  1. Extract the archive, usually by right-clicking the archive and selecting the "Extract All" option. When the install archive is extracted, a new folder should be created with all the files and directories in the correct places.
  2. Set your FTP client for binary transfer, select all the files and folders and copy them to the directory where you want to locate your forum.

Uploading Before Extracting

Some control panels, such as cPanel, give the ability to extract an archive right on the server. This can be a quicker than waiting for all the extracted files to copy via FTP. First, upload the file via your account's control panel. Second, select the extract option to extract the archive to the desired location -- the directory where you want your forum to be located.



Advertisement: