How to Create a new file?

For small text files it can be easier to create them online, rather than on your home computer and uploading the file. You can create text files, such as HTML, PHP, or plain TXT, but not binary files.

1- Navigate to the folder where you want to create your text file.
2- Click on the Create New File link.
3- Enter the name of the file to be created in the available field in the top-right corner of your window. You do need to add the file extension to the name, for example script.pl for a Perl script, not just script.
4- Select the type of document from the drop-down list. Each type of file adds specific information to the text file:

  •  Text Document - No text is added to the file.
  •  HTML Document - No text is added to the file.
  •  Perl Script - Automatically adds the path to Perl to the top of the file. Make sure to double-check that the path is correct.
  •  Shell Script - Automatically adds the path to the Shell executable to the top of the file. Make sure to double-check that the path is correct.
5- Click on the Create button. The file has now been created and the display updated to show the new file.

Related Articles

How can I Open and Navigate in File Manager?

Yo open and navigate in cpanel file manager, follow these steps:1- Click on the File Manager button on the Cpanel home page. 2- Open a folder by clicking on the folder icon. 3- Go up a level by...

How can I create a new folder using cpanel file manager?

To create a new folder in cpanel using the file manager, follow these steps: 1- Navigate to the area in which you will create the new folder. 2- Click on the Create New Folder link. 3- Enter the...

How can I Upload files in File Manager?

You can use File Manager to upload files to your web site, up to 12 files in one go. Although useful, a third-party FTP client has many more features and does not limit you to the number of files...

How can I Edit a file using cpanel file manager?

Editing a pre-existing file through File Manager allows you to make immediate changes to your web site, without having to upload a new version of the file. This is useful for small changes, but...

How can I Edit a file using an HTML Editor?

You can edit online HTML pages directly through the File Manager.1- Navigate to the folder where the file is located. 2- Click on the name of the file. 3- Click on the WYSIWYG Html Editor (IE 6...