How to publish and edit files with UltraEdit
This article describes how to publish and edit files to an A2 Hosting server using UltraEdit. UltraEdit also provides SSH functionality that you can use to access your A2 Hosting account from the command line.
Publishing and editing files on an A2 Hosting server
With UltraEdit, you can edit files directly on the server. Additionally, you can create files on your local computer, and then upload them to the server.
Before you can do either of these tasks, however, you must first set up an SFTP (Secure File Transfer Protocol) account in UltraEdit. To do this, follow these steps:
- On the menu, click , and then click .
- Click Add account.
- On the General tab, in the Account text box, type a name for the account.
- In the Protocol list box, select SFTP.
- In the Server text box, type your domain name (for example, example.com).
- In the Port text box, type 7822.
- In the Username text box, type your A2 Hosting account (cPanel) username.
If you do not know your cPanel username or password, you can use the A2 Hosting Customer Portal to view it. For more information, please see
this article.
- In the Password text box, type your A2 Hosting account (cPanel) password.
- If you do not want to retype your password every time UltraEdit connects to your account, select the Save password check box.
- Click Apply, and then click OK. You are now ready to publish and edit files on the server.
Editing files on the server
UltraEdit enables you to edit files directly on the server. To do this, follow these steps:
- On the menu, click , and then click .
- In the list box, select the name of the FTP account that you created in the previous procedure, and then click Connect.
- If UltraEdit asks if you want to store the key in the cache, click Yes. After UltraEdit connects to the server, a directory listing of your account appears.
- Select the file that you want to edit, and then click Open.
Alternatively, you can just double-click the file.
- Depending on the file's format, you may receive the following message:
Do you want to convert filename to DOS format?
Because A2 Hosting's servers run Linux, you should normally click No to maintain the UNIX/Linux file format. Only convert the file to DOS format if you are sure you want to do so.
Make the changes to the file that you want, and then on the menu, click .
Alternatively, you can press Ctrl-S.
- UltraEdit saves the changes to the file on the server.
Publishing files to the server
In addition to editing files on the server directly, you can create new files in UltraEdit, and then upload them to your account. To do this, follow these steps:
- In UltraEdit, create a new file or open an existing file.
- On the menu, click , and then click .
- In the list box, select the name of the FTP account that you created in the previous procedure, and then click Connect.
- If UltraEdit asks if you want to store the key in the cache, click Yes. After UltraEdit connects to the server, a directory listing of your account appears.
- Navigate to the folder where you want to save the file.
- Confirm the filename or type a new filename, and then click Save. UltraEdit uploads the file to the server in the directory you specified.
Using SSH to access the command line
In addition to file editing and upload capabilities, UltraEdit includes SSH (Secure Shell) console functionality. You can use this to access your account from the command line. To do this, follow these steps:
- On the menu, click , and then click .
- Click Add account.
- On the General tab, in the Account text box, type a name for the account.
- In the Protocol list box, select SSH.
- In the Server text box, type your domain name (for example, example.com).
- In the Port text box, type 7822.
- In the Username text box, type your A2 Hosting account (cPanel) username.
If you do not know your cPanel username or password, you can use the A2 Hosting Customer Portal to view it. For more information, please see
this article.
- In the Password text box, type your A2 Hosting account (cPanel) password.
- If you do not want to retype your password every time UltraEdit connects to your account, select the Save password check box.
- Click Apply, and then click OK.
- On the menu, click , and then click .
- In the list box, select the name of the account that you specified in step 3, and then click Connect.
- If UltraEdit asks if you want to store the key in the cache, click Yes. After UltraEdit connects to the server, a command prompt appears in the console window where you can type commands.
For an introduction to Linux commands and the command line environment, please see
this article.
For more information about UltraEdit, please visit http://www.ultraedit.com.