Certain content editors require documents uploaded to the website as they do not have a process in place to upload documents themselves.
District
Kate Hofland (office of General Counsel, admin for FACT committee)
Danay Bell (office of Public Stewardship)
Events
MCLI
My
News
Police
Procurement
Redirect
Success
Toolbox
Transformation
Briana Haas (MCLI)
WWW
Uploading a document to MCCC Main production websites requires Acquia Cloud permission on the appropriate team in order to SFTP (SSH File Transfer Protocol) files to the remote directories that live on the websites.
Some sites do have a Documents content type that allows certain files to be uploaded and attached to other pieces of content on the site. This has limitations as the files uploaded through the Documents content type is are placed in a view table and put on the page as a side region block.
The more common use case is that editors want to link to files in their body text.In a majority of the content editor use cases, they just want to add a link to a file on a page. Typically in the body of a page.
...
Preparing to Upload Files
SSH Key
A valid SSH on your work machine is also required after obtaining appropriate Acquia Cloud access.
Acquia has specific requirements for what kind of SSH key they accept: https://docs.acquia.com/acquia-cloud/manage/ssh/enable/
FileZilla
FileZilla is a free program that makes FTP simple for anyone to do.When you have
Requirements
access on Acquia Cloud to web properties
created valid SSH key
converted SSH key to .ppk format
attached SSH key to Acquia account
downloaded and installed FileZilla,
then you can start transferring files to the remote websites.
...
Uploading Files to MCCC Main Sites
Open FileZilla and navigate to File 🠒 Site Manager… (Ctrl+S)
Create When the Site Manager window opens, create a new entry under My Sites by clicking pressing the New site button
Fill in site information on the General tab. Use SFTP for transferring files to Acquia Cloud. Use your SSH key (.pkk format) for connecting to the server.
When site information is filled out, click .
Set a name for the entry e.g. mcccmain prod, then fill in the fields:
Protcol: SFTP - SSH File Transfer Protocol
Host: web-35311.prod.hosting.acquia.com
Port: N/A
Logon Type: Key file
User: mcccmain.prod
Key file: Browse to your Acquia Cloud SSH key file, make sure it’s in .ppk format.
After everything is filled out, press the Connect button to initiate a connection to the server.
Click Press OK if the Unknown host key prompt appears. If you set a passphrase for your SSH key, you will enter it at the Enter password prompt.
Once connection is successful to the web server, you will see a listing of folders. Depending on what web server you’ve connected to, the listing of folders will usually be different. My screenshot shows Acquia Cloud MCC Main Production folders.
Continuing with the production MCC Main sites, click the prod folder.
You will see a new listing of folders (backups, db_control, files). From here, click the sites folder.
The next listing of folders shows the Acquia Cloud MCC Main production site folders. As an example, I’ll demonstrate the process of uploading a file to district. Click the district folder.
The next folder listing will have files and files-private folders. Click the files folder.
After you navigate inside the files folder, there will be a large listing of both folders and files. District has A LOT of files and folders. If there’s a file upload request from Danay (works in the Office of Public Stewardship), I usually upload files to documents > pdf > public-stewardshipFor MCCC Main, you should see folders called .cache, .drush, .ssh, drush-backups, prod.
Go into the prod folder, then go into the sites folder. You should see a list of folders for each site in the code line.
Navigating into any of the site folders will take you to the files folders where you can directly upload files to the websites. Almost all website files live in the files folder.
Info |
---|
Learn how to convert your SSH key to .ppk format. Read through Acquia’s documentation. |
Uploading Files to cdn.maricopa.edu
Info |
---|
If you aren’t in-office, make sure to sign into VPN or else you won’t be able to connect to the CDN server. |
Open FileZilla and navigate to File 🠒 Site Manager… (Ctrl+S)
When the Site Manager window opens, create a new entry by pressing the New site button.
Set a name for the entry e.g. cdn.maricopa.edu, then fill in the fields:
Protcol: FTP - File Transfer Protocol
Host: cdnpwb01.maricopa.edu
Port: N/A
Encryption: Use explicit FTP over TLS if available
Logon Type: Normal
User: [Enter Active Directory username] e.g. huntzberryb; combination of last name with first letter of first name
Password: [Enter Active Directory password]
After everything is filled out, press the Connect button to initiate a connection to the server.
Once connection is successful, you will see a listing of folders.