Creating files
Posted by David, Last modified by Ashley L on 19 November 2019 04:42 PM

You can create files in any directory on your site by using the Create New File option in the File Manager. This option allows you to create a text, HTML, or script file in the directory you are currently in.

Here are the steps:

  1. To access the FILE MANAGER, click on the words "File Manager" on the main screen of your cPanel interface
  2. Click on the words "Create New File"
  3. Type the name of the new file in the blank field above the drop-box containing the words "Text Document:"
  4. Click on the drop-box containing the words "Text Document" and select the type of file you wish to create
  5. Click on the box marked "Create"

If the file was created successfully, the following will appear (except filename will be the name of the file you have created and /home/directory will be the directory you have created the file in. File Type will be replaced with the type of file you have created):

Creation of filename (File Type) succeeded in/home/directory

Troubleshooting: Make sure to create the proper type of file for its contents. A file created with an improper file type may not work in the manner that you wish it to. For example, an HTML Document that is created as a Perl Script will not work, it needs to be created as an HTML Document.

(295 vote(s))
Helpful
Not helpful

Comments (0)