Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Path for

Discussion in 'General Discussion' started by alouty, Apr 14, 2014.

  1. alouty

    alouty Registered

    Apr 14, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    I received support from cPanel:

    The file is not located in /root folder. I see you have it currently in /home/bestjob/public_html/root/
    How are you transferring the file to the server? Looks like via FTP to a user's home directory. That won't work.

    The file needs to be put in /root folder via SCP or another method to transfer the file.

    You can copy the file from /home/bestjob/public_html/root/ to /root and then issue the bash /root/ command.
    I also FTP to /home/bestjob/public_html/ May I know what is the exact command to keyin for scp <file> <username>@<IP address or hostname>:<Destination>?? What is <username>? Is it root? What is <file> and <Destination>?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, you will need to use the "root" username if uploading a file to the /root directory. Have you considered using SFTP and uploading the file with a client such as FileZilla (assuming you use Windows)?

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice