How to access your Turnkey site with FTP

When you work with turnkey and use page overrides and your own site assets you may want to access your site with FTP for uploading these. The MDriven Turnkey administration in LicenseAndTicket do allow for page overrides and site assets – but it may be more practical for you to upload this with FTP.

To use FTP you need to find the address and password for your site.

You can find these details in the publishing profile that you can download in the ManageOneTurnkeySite dialog of LicenseAndTicket:

image

The publishing profile is an xml file with the information we need:

image

Make a note of publishUrl, userName and userPWD from the FTP section.

Start your favorite FTP-program – mine is Filezilla – connect to your site using the information from above.

There are primarily 3 folders you may want to access:

image

 

Content: here goes css,script files and images and what have you.

EXT_OverridePages: here goes cshtml files with markup that will replace a ViewModel auto generated UI – matched by file name.

EXT_LateBoundAssembly: (Advanced) here goes .net assemblies that fulfills the interface of the IExternalLateBoundService. This will in turn allow for your MDriven Turnkey model to call any .net code that you want.

 
// Eco.Interfaces.dll
namespace Eco.Services
{
  //
  // Summary:
  //     Allows you to supply domain object method implementations with late bound assembly
  public interface IExternalLateBoundService
  {
    IElement Execute(IClassifier classifier, IObject theobject, IMethod method, 
IModifiableVariableList variableList); } }
This entry was posted in MDrivenTurnkey, Turnkey and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*