How to create a new file using cPanel file manager?

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:
    5. * 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.
    6. Click on the Create button. The file has now been created and the display updated to show the new file.
  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

How to Change file/folder permissions using the cPanel file manager?

All files on UNIX (including Linux and other UNIX variants) machines have access permissions....

How to create a new folder using the cPanel file manager?

Folders are a very useful way of adding organization and structure to your web site. They make...

How to Edit a file using the cPanel file manager?

Editing a pre-existing file through File Manager allows you to make immediate changes to your web...

How to Empty the Trash folder using cPanel file manager?

Click on the Trash button in the Trash area. All of the files in the Trash have now been...

How to Open and Navigate the cPanel File Manager?

Click on the File Manager button on the Cpanel home page. Open a folder by clicking on the...