hosting

If the reseller is selling Web Hosting

FileZilla

To Upload Content/Files using FileZilla

  1. Open FileZilla and choose Site Manager under the File menu.

  2. Click the New Site button.

  3. Provide the following details, label the entry as yourdomainname.com and click the Connect button:

    Host: yourdomainname.com

    Port: 21

    Protocol: FTP - File Transfer Protocol

    Encryption: Require explicit FTP over TLS

    Logon Type: Normal

    User: FTP Username for yourdomainname.com

    Password: Password for the above FTP User

  4. Select the Always trust certificate in future sessions. option and then click the OK button.

  5. Once connected, open the relevant folder by double-clicking it:

    • cPanel - public_html

    • Plesk - httpdocs

    Note

    Depending upon the Directory/Folder structure of the Web Hosting package, you would need to upload your files to the relevant
    folder. See details

  6. In the left pane, select the files to upload. Right-click and choose Upload.

    The files will be transferred to the remote server.

To Enable Active/Passive Mode FTP (Anchor: ftpmode)

Different modes of data connection can be used during
FTP. See details

There are 2 ways in which the data connection mode can be modified.

Global Settings

  1. Choose Settings under the Edit menu.

  2. The Passive mode for data connection is set by default. Under the Connection section, click FTP and select
    the Active radio button to enable the
    Active mode.

  3. Click OK to save the changes. This change will affect all the sites for whom the data connection mode was set by default.

For Individual Sites

  1. Choose Site Manager under the File menu.

  2. Select yourdomainname.com and click the Transfer settings tab. Here, you can change the data connection
    mode to Active or
    Passive.

  3. Click OK to save the changes. The change is saved and active for future FTP sessions of this site.

WinSCP

To Upload Content/Files using WinSCP

  1. Open WinSCP.

  2. Provide the Host name, User name and Password information, set Port number to 21 and click the
    Save button.

    Uploading content is allowed only through FTPS on Port 21. Hence, besides File Protocol you need to select FTP in the first dropdown menu and
    TLS Explicit encryption in the next.

    Additional Information

    FTPS

  3. Confirm the entry as shown below.

  4. In the Stored sessions section, select yourdomainname.com and click the Login button.

  5. Once connected, open the Web folder by double-clicking it.

    Note

    Depending upon the Directory/Folder structure of the Web Hosting package, you would need to upload your files to the relevant
    folder. See details

  6. Select the desired files in the left window and from the Files menu, click Copy.

  7. Confirm the file transfer by clicking the Copy button.

    The files will be transferred to the remote server.

To Enable Active/Passive Mode FTP

Different modes of data connection can be used during FTP. See details

The data connection mode can be modified in WinSCP client as follows:

  1. Under Stored sessions, select yourdomainname.com and click the Edit button.

  2. Select the Advanced options check box.

  3. By default, the data connection mode is set to Active mode. Click Connection and select the Passive mode check box.

  4. Click the Save button. The change is saved and active for future FTP sessions of this site.

SmartFTP

To Upload Content/Files using SmartFTP

  1. Open SmartFTP. Under the File menu, click New Remote Browser.

  2. Type in your domain name as Host. Also type in the FTP Username and Password. Make sure the Port is set
    to 21. Click OK to connect to the server.

    Uploading content is allowed only through FTPS on Port 21. Hence, you need to select the FTP over SSL (Explicit) option from the Protocol drop-down menu.

    Additional Information

    FTPS

  3. Once connected, you will be displayed a pane which lists all the files and folders under your website.

    Double-click the web folder to open it.

    Note

    Depending upon the Directory/Folder See details structure of the Web Hosting package, you would
    need to upload your files to the relevant folder.

  4. Under the File menu, click New Local Browser. This will open another pane listing your local files and folders.

  5. Open the directory containing the files for your website.

  6. Select the files to upload and click Upload button to upload the files onto the web server.

To Enable Active/Passive Mode FTP

Different modes of data connection can be used during FTP. See details

There are 2 ways in which the data connection mode can be modified.

Global Settings

  1. Under Tools menu, click Settings.

  2. Under the Connection dialog, change the Mode in the Data Connection section from Passive Mode (PASV) to
    Active Mode (PORT) or vice versa. Click OK to save the changes.

This change will affect all the sites for whom the data connection mode was set by default.

Favorite Item Setting

  1. Under the Favorites menu, click Edit Favorites.

  2. Select the site under Quick Connect folder, right-click and then click Properties.

  3. Go to the Connection dialog and change the Mode in the Data Connection section from Passive Mode (PASV) to
    Active Mode (PORT) or vice versa. Then, click OK.

The change is saved for future FTP sessions of this site.

Core FTP

To Upload Content/Files using Core FTP

  1. Open Core FTP. You will be presented with the window below.

  2. Provide your domain name under HOST / IP / URL. Type in your Username and
    Password and click Connect.

    Uploading content is allowed only through FTPS on Port 21. Hence, you need to select the FTPS (SSL DIRECT)
    option from the Connection drop-down menu. The Port should be set to 21.

    Additional Information

    FTPS

  3. Once connected, open the web folder.

    Note

    Depending upon the Directory/Folder structure of the Web Hosting package, you would need to upload your files to the relevant
    folder. See details

  4. In the left pane, select a file to upload. Right-click on the file and choose Upload.

To Enable Active/Passive Mode FTP

Different modes of data connection can be used during FTP. See details

There are 2 ways in which the data connection mode can be modified:

Global Settings

  1. Click View and choose Options.

  2. The Passive mode for data connection is set by default. Under the Global Settings dialog box, click Connections and uncheck PASV connections for transfers to enable the Active mode. Click OK to save the changes.

    This change will affect all the sites for whom the data connection mode was set by default.

For Individual Sites

  1. Click Sites and choose Site Manager.

  2. By default, the Passive mode is enabled. Uncheck PASV to enable Active mode.

  3. Click Close to save the changes. The change is saved and active for future FTP sessions of this site.

CuteFTP

To Configure your Website in CuteFTP

  1. Open CuteFTP.

    Uploading content is allowed only through FTPS on Port 21. Hence, you need to choose the FTPS (SSL) Site option from the
    File -> New menu.

    Additional Information

    FTPS

  2. Enter your site details on the following page:

    • Label: Type something meaningful to identify your site.

    • Host address: yourdomainname.com

    • Username and Password: The FTP username and password for
      yourdomainname.com

  3. Click OK. Under General FTP sites, you would now see the site you have just configured.

To Enable Active/Passive Mode FTP (Anchor: ftpmode)

Different modes of data connection can be used during FTP. See details

There are 2 ways in which the data connection mode can be modified.

  1. Global Settings:

    1. Under Tools menu, select Global Options.

    2. Under the Transfer section, change Data mode to PORT (Active mode) or PASV (Passive mode).

      Click OK to save the changes.

      This change will affect all the sites for whom the data connection mode was set by default.

  2. For Individual Sites:

    1. Select the site from the General FTP Sites list, right-click and then click Properties.

    2. Under the Type tab, click the Data connection type drop-down menu.

    3. Choose User PASV for Passive mode and Use PORT for Active mode. Click OK to save the changes.

      The change is saved and active for future FTP sessions of this site.

To Connect and Upload using CuteFTP

  1. Double-click the site you have configured as described above. This will make a connection to the server. Once you see the server files listed, double-click on web folder. Windows Server users need to
    open web folder.

    Note

    Depending upon the Directory/Folder structure of the Web Hosting package, you would need to upload your files to the relevant
    folder. See details

  2. In the left pane in CuteFTP, click the Local Drives tab.

  3. Navigate to the location of your website files. Select the files to be uploaded and right-click on the selection and choose Upload.

  4. Your files should now be uploaded.

Should I use Active or Passive mode for FTP?

FTP exists primarily for the transfer of data between two end points. FTP differs from HTTP (Hyper Text Transfer Protocol, used for serving websites via web browsers) fundamentally as it is an application made up of two distinct TCP connections:

  • Control connection: This TCP-based connection is used to provide a communications channel for the delivery of commands and replies. This is effectively the mechanism that enables the user to tell the server which file is being requested, which directory it is in, and so forth.

  • Data connection: The second TCP-based connection is used for the actual transfer of user data. Once the Control connection has been used to exchange information on which file is required, the Data connection is used to transfer the file between the client and server.

Using these two communication connections, two distinct modes of operation determine in which direction the connections are established: Active mode and Passive mode.

FTP is a TCP based service exclusively. There is no UDP (User Datagram Protocol transports data as a connectionless protocol, using packet switching) component to FTP. FTP is an unusual service in that it utilizes two ports, a Data port and a Command port (also known as the Control port). Traditionally these are port 21 for the Command (Control) port and port 20 for the Data port. The confusion begins however, when we find that depending on the mode, the data port is not always on port 20.

Active FTP

In active mode FTP, the FTP client software connects from a random unprivileged (unprivileged port is a port which is higher than 1023) port. Let's say N is the FTP server's command port, port 21.

Then, the client starts listening to port N+1 and sends the FTP command PORT N+1 to the FTP server. The server will then connect back to the client's specified data port from its local data port, which is port 20.

Here in this mode of FTP, firstfoot Interactive Pvt Ltd. doesn't need to open any additional non-secure ports on our servers firewall and hence is secure from the server-side.

Passive FTP

In passive mode FTP, the FTP client initiates both connections to the server. When opening an FTP connection, the client opens two random unprivileged ports, lets say N and N+1. The first port contacts the server on port 21, but instead of then issuing a PORT command and allowing the server to connect back to its data port, the client will issue the PASV command. The result of this is that the server then opens a random unprivileged port lets say P and sends the PORTcommand back to the client. The client then initiates the connection from port N+1 to port P on the server to transfer data.

This method of FTP is insecure, as a random unprivileged port is opened on the Server. This is a potential security issue and it isn't advisable to use the Passive mode of FTP.

Note

All firstfoot Interactive Pvt Ltd. Windows and Linux web servers support both Active as well as Passive modes.

All popular FTP software allow users to select the data connection mode (Active or Passive), when uploading/downloading data to a web server.

Additional Information

Setting data connection mode in:

Uploading Content to your Website

FTP

FTP stands for File Transfer Protocol. Essentially, it is a simple tool to move files from one computer to another computer.

How would FTP work for me?

Lets assume that you have created a web site for yourself, and you have seventy-five web pages that you want to display to people. Instead of copying all of the files to disks and manually placing
the files on the Web Server, you could open an FTP client, find the Web Server, navigate to the directory where you need to place the files, and then upload the files.

Thus, FTP is simply used:

  • to download a file from a server using the Internet, or

  • to upload a file to a server (e.g. uploading a web page file to a Server).

FTPS

FTPS (also known as FTP Secure or FTP-SSL) is an extension to the commonly used File Transfer Protocol (FTP) that adds support for the Transport Layer Security (TLS) and the Secure
Sockets Layer (SSL) cryptographic protocols.

Note
  • FTPS works only on Port 21 for firstfoot Interactive Pvt Ltd.'s cPanel Linux Hosting,
    Plesk Windows Hosting, Single Domain Linux and Windows Hosting, Multi Domain Linux and Windows Hosting, Reseller Linux and Windows Hosting packages.

  • Some FTP clients support both FTPS modes: Explicit and Implicit. In such FTP clients, the Explicit (FTPES) mode needs to be selected.

Few FTP clients supporting FTPS