Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Cpanel - Download direct to the public_html folder - Server to Server
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Cpanel - Download direct to the public_html folder - Server to Server

DragonDFDragonDF Member

Hello guys,
I'd like to know if it is possible to download files direct from a server to my Cpanel's account. I do not want to download to my PC and then upload to the server.
Exemple: now I am trying to download a simple JOOMLA TEMPLATE to a Public_Html folder of the user I have in my reseller's account.

Joomla template (with QuickStart installation):
http://www.gavick.com/download/joomla-3-templates/meet_gavern/gkmeetgavernquickstartj3-zip.raw
This allows to install Joomla + Template in an easy way.
(Yes, I am not good in Joomla). :)

I know how to transfer files from a link to a server using SSH but I have no idea how to do it using Cpanel, WHM, etc. without ROOT access.
I could see there is an option in Cpanel Admin Panel: SSH Access. Do I need to generate the keys? Is this the correct wayt?

The best option I could see is in Cpanel Forum:
http://forums.cpanel.net/f402/trying-transfer-account-one-cpanel-another-there-max-size-298361.html

There are others, too:
http://wiki.dreamhost.com/Wget
http://www.hacktweaks.com/2010/12/download-files-to-your-web-host-server-directly-faster-and-easier.html
http://stackoverflow.com/questions/12315223/download-files-directly-to-my-server
http://www.sitepoint.com/forums/showthread.php?640882-How-do-I-download-directly-to-my-server

Last message here suggests a PHP file:
http://superuser.com/questions/241931/how-can-i-download-a-file-directly-to-a-web-server

DO YOU HAVE experience with this?
Please remember that I am using not like the VPS' owner but with a reseller's account.

Thank you!

Comments

  • DalCompDalComp Member
    edited July 2013

    (Jailed) SSH access on cPanel is provided on account basis. If it is enabled for your client's account then you can login to SSH with your client's credentials and use ftp/scp to transfer files.

    Depending on your provider policy, you may or may not be able to enable/disable SSH for your clients (through WHM).

    Thanked by 1DragonDF
  • @DragonDF Since you are a reseller and dont get SSH access, you may go to Backup Wizard - Backup - Remote FTP Backup (Passive Mode) - Put new server FTP information and generate the full backup on the new server. If you only need to restore the public_html folder, then use cPanel file manager to extract the .tar file and so on. If you want to restore database email etc. then ask your provider to restore that file for you.

    Thanked by 1DragonDF
  • @DalComp and @CentrioHost
    Hi guys, I am sorry to forget to come back to this thread. Maybe I lost the notification.

    Reseller accounts have a few 'problems'.

    Thank you for your replies.

    :)

  • <?php   
        echo "running script<br>";  
        $gif = file_get_contents('http://xmpphp.googlecode.com/files/xmpphp-0.1rc1-r70.tar.gz') or die('Could not grab the file');  
        $fp  = fopen('./xmpphp-0.1.tar.gz', 'w+') or die('Could not create the file');  
        fputs($fp, $gif) or die('Could not write to the file'); 
        fclose($fp);    
        unset($gif);    
        echo "running script ended";
    ?>
    

    This script I used when I was using shared hosting.

    Put source url of file over here

    file_get_contents('http://xmpphp.googlecode.com/files/xmpphp-0.1rc1-r70.tar.gz')

    and put appropriate name here

    $fp = fopen('./xmpphp-0.1.tar.gz', 'w+')

    Save & upload this script with .php extn, filder should be accessible over internet.
    run it :-)

    I am not php developer so expert may have better suggestions than this.

  • FritzFritz Veteran

    Usually I use Rapidleech to transfer files. I don't know if your host allows this though.

  • @Fritz
    I have never read or listened about Rapidleech.
    It looks like a great tool.
    :)
    I will check with the host.

Sign In or Register to comment.