ModularMerchant
Knowledge Base
Shopping Cart Software Online Manual
Connecting to a website using SFTP
Causes of SSL security warnings on secure webpages FTP Access before domain is hosted
Location Home > Shopping Cart Software Components > Administration Area > Hosting > FAQs & Tutorials

Connecting to a website using SFTP

This tutorial provides instructions on how to use SFTP to connect to a website in order to upload or download files. All SILVER and higher Modular Merchant account plans provide options for adding SFTP connectivity to the store's hosting account.

This tutorial is written for version 4 of the Modular Merchant shopping cart software (MMv4). If using a previous version of the software, the names and locations of items located in the store's Administration Area that are referenced below may differ slightly.
 
Prerequisites
This tutorial assumes that the user already has the following:
  1. Basic understanding of uploading and downloading files using FTP.
  2. An FTP/SFTP application installed on their computer. (This tutorial uses Filezilla.)
sftp software
A variety of SFTP-compatible software is available. A list of FTP programs that can make SFTP connections is available at http://en.wikipedia.org/wiki/Comparison_of_FTP_client_software#Protocol_support

key concept: sftp
How does SFTP differ from FTP?
SFTP is nearly identical to regular FTP, except that it connects to the server on a different port, and it encrypts the user name, password and transmitted data. Other than that, they're the same.

Why SFTP?
As per PCI Compliance requirements, SFTP must be used instead of FTP when connecting to the user's hosting account in order to upload or download files.
 
Locating your hosting account's SFTP information
An account's sftp connection information can be found in the store's administration area at [Hosting > Connection Information].
 
Configuring an SFTP connection in an FTP program (Filezilla)
The instructions below are based on Filezilla version 3.5.0. The instructions for other versions of Filezilla may differ slightly.
  1. Open Filezilla
  2. In the application, create a new site profile by going to [File > Site Manager]. A Site Manager popup window will open. (See sample image below.)


     
  3. In the Site Manager popup window, click the New Site button.
  4. In the left-column, enter a name for the new site.
  5. In the right-column, select the General tab.
  6. In the Host field, enter the Host Address listed in the store's Connection Information page.
  7. In the Port field, enter 22.
  8. From the Protocol menu, select SFTP - SSH File Transfer Protocol.
  9. From the Logon Type menu, select Normal.
  10. In the User field, enter the SFTP Login listed in the store's Connection Information page.
  11. In the Password field, enter the SFTP Password listed in the store's Connection Information page.
  12. Click the OK button to save the site profile.
The site should now be configured in Filezilla, and ready for use. Click the Connect button in the Site Manager window to connect to the website and start uploading and downloading files.

security measure: brute force lockout
If a user's attempt to log in via SFTP fails five times within ten minutes, then that user's IP will be locked out for ten minutes.

This is a security measure to combat brute-force attacks, in which a bot will bombard the server, attempting to log in with a variety of different user names, in an attempt to ascertain an account's login information.
 
Locating website files on the server
When connecting to your hosting account, a list of directories will be displayed. (See sample image below.)


Click on the httpdocs directory to open it. The httpdocs directory is where all of the website's files are located, and all content should be uploaded to that directory.

Once the user is connected to the website's httpdocs directory, they're ready to start uploading and downloading files.

u can touch this
The files associated with your Modular Merchant shopping cart software will be visible when you have logged in by SFTP. They are owned by the SFTP user account, which means it is possible to overwrite them by uploading files with the same names.

Overwriting any of the shopping cart's files (especially those that begin with the prefix "ad_") will result in degraded performance of the shopping cart software.

The exception is the following two locations, which contain the customizable images and templates. Uploading your own images and templates into the following locations is okay, and should not interfere with the software's functionality:

If your store is installed in the /httpdocs/ directory:
/httpdocs/images/
/httpdocs/template_packages/

If your store is installed in a subdirectory, such as: /httpdocs/store/
/httpdocs/store/images/
/httpdocs/store/template_packages/

troubleshooting common connectivity problems
If you're having problems making an SFTP connection to your website, try these troubleshooting steps first:

1. Host Address
Be sure that the correct Host address is being used. For PCI Compliance reasons, the host address will not be your domain name. Instead, it will be structured like this: secure000.modularmerchant.com. Replace the 000 with the Server ID specified in your store's Administration Area.

2. Password
Certain applications will sometimes append an extra blank character to the end of a password when it has been copied off a website. Instead of copying and pasting the password into the application's password field, try typing it in manually instead.


— Last Edited - 08/3/2012 4:24pm PDT
Rank and add a comment to this article
Only logged in users may leave comments and rank articles. Log in to have your say!
  Knowledge Base Home

  QuickCode™ Tag Glossary

  Modular Merchant.com Homepage

Not Logged in.
Either Log in or create a User Account.

Other articles in this category...

Add a database user in Plesk

Add an SSL Security Verification seal to your website

Causes of SSL security warnings on secure webpages

Connecting to a website using SFTP

FTP Access before domain is hosted

How much traffic can the server handle?

How to access log files in Plesk

How to Install an SSL Certificate in Plesk

Locating PhpMyAdmin to manage MySQL databases

Minimizing website downtime during hosting account installation

Server Monitoring Procedures

Setting Up Email Accounts in Plesk and Outlook

Upload Product Images via SFTP

What is an SSL Certificate, and do I need one?