Uploading vBulletin Scripts to Your Web Server 
After your config.php files have been edited and saved it is time to upload the vBulletin scripts to your web server. You are now ready for installation.

The uploading process should be familiar to anyone who has published pages to a web site before, but a brief description of the process is given here.

Although there are several methods available to transfer the vBulletin files from your computer to your web server, by far the most common method in use is transfer via FTP. Most operating systems have built-in tools for opening FTP connections although they are often limited in their usefulness and many people opt to use a third party FTP client application. For this example we will use FileZilla.
Note:
We do not recommend using the built-in file transfer features in WYSIWYG editors such as Adobe Dreamweaver® or Microsoft Expression Studio®. These programs often add information to vBulletin's files or do not maintain their structure properly which will cause problems while installing or upgrading the software. We also do not recommend using any web-based file managers that your hosting service may provide as a solution. For best performance and reliability you are recommended to use a stand alone FTP client like Smart FTP or Filezilla.
Installing in a Sub-Directory

The easiest way to transfer the files is to upload the entire upload folder to the server. Using FileZilla we do this by dragging the upload folder from its location on your computer's hard disk to the web publishing folder on the server.


Most FTP client applications will handle the file transfers automatically, but if for some reason your application does not, you should make a note of the following:

[*]All text files to be transferred in ASCII mode
All files containing plain text from the vBulletin package should be transferred in ASCII mode.
Text file types you will find in vBulletin are: .html, .php, .js, .xml, .css.[/*]

[*]All non-text files to be transferred in Binary mode
The remaining files, which are mostly images, should be transferred to your web server in binary mode.
Binary file types used in vBulletin are: .gif, .png, .jpg, .ico.[/*]
Note:
The web publishing folder is usually called public_html, www or htdocs and is located within your home directory. If you are unsure of where to find your own web publishing folder, your host will be able to help you.
Depending upon the speed of your internet connection, uploading all the files could take several minutes to complete. After completion, you should see that the web server now contains a folder called upload containing a perfect copy of the files in the upload folder on your computer's hard disk.


When all the files have been uploaded successfully you should rename the upload folder on the web server to the name you want to use for your forums directory. We will be calling it forums for the purposes of this manual.


Installing at the Domain Root

Alternately, if you’d rather have the installation at the root level of your site, you can upload all the files contained in the upload folder directly into the web publishing folder on the server. This will bring your visitors directly to the vBulletin site when they visit your website.

Using FileZilla we do this by dragging the contents of the upload folder from its location on your computer's hard disk to the web publishing folder on the server.


Most FTP client applications will handle the file transfers automatically, but if for some reason your application does not, you should make a note of the following:

[*]All text files to be transferred in ASCII mode
All files containing plain text from the vBulletin package should be transferred in ASCII mode.
Text file types you will find in vBulletin are: .html, .php, .js, .xml, .css.[/*]

[*]All non-text files to be transferred in Binary mode
The remaining files, which are mostly images, should be transferred to your web server in binary mode.
Binary file types used in vBulletin are: .gif, .png, .jpg, .ico.[/*]
Note:
The web publishing folder is usually called public_html, www or htdocs and is located within your home directory. If you are unsure of where to find your own web publishing folder, your host will be able to help you.
Depending upon the speed of your internet connection, uploading all the files could take several minutes to complete. After completion, you should see that the web server now contains a perfect copy of the files contained in the upload folder on your computer's hard disk.

If all has gone well, you are now ready to run the installation script to prepare your database to run vBulletin.
User Contributed Notes: Uploading vBulletin Scripts to Your Web Server Add a Comment
Mike 22nd Dec 2007, 01:17pm
The example FTP program given above only works for Windows. If you're using a Mac, try using the demo of the program found at url=www.ftpclient.com/.
Raj 24th Jun 2009, 02:54am
I think filezilla works well too
Ben 04th Apr 2010, 03:24pm
Fetch is the best FTP program available for the mac. If you prefer a free program, Fugu is excellent.
Prince Tanweer Ahmad 10th Sep 2011, 12:44pm
FileZilla works best for me.
Anushkumar 27th Oct 2011, 03:53pm
Cute FTP Pro Works Well For Me
Dustin Ginther 27th Oct 2011, 03:53pm
If you only want FTP, Transmit is the best out the for the Mac ( www.panic.com ). If you want a good code editor and FTP combo the power of Transmit is included in Coda (also at www.panic.com)
aneeeq 24th Apr 2012, 01:32pm
Hi, I have found an excellent solution which is as below.

<?php
$server = “ftp.you-server.com”; //address of ftp server (leave out ftp://)
$ftp_user_name = “userName”; // Username
$ftp_user_pass = “passwordHere”; // Password
$source = “/home/folder/public_html/filename.ext”;
$dest = “/public_html/filename.ext”;
$mode=”FTP_BINARY”;
$connection = ftp_connect($server);

$login = ftp_login($connection, $ftp_user_name, $ftp_user_pass);

if (!$connection || !$login) { die(‘Connection attempt failed!’); }

$upload = ftp_put($connection, $dest, $source, FTP_BINARY);

if (!$upload) { echo ‘FTP upload failed!’; }

ftp_close($connection);
echo “done”;
?>

Source:
<a href="http://phphelp.co/2012/04/09/how-to-do-server-to-server-ftp-transfer-in-php/">http://phphelp.co/2012/04/09/how-to-do-server-to-server-ftp-transfer-in-php/</a>

<a href="http://addr.pk/af97">http://addr.pk/af97</a>
Add a Comment