Techcript-logo.png
Share on facebook
Share on linkedin
Share on twitter

Do you want to copy files from file manager of one cpanel to another cpanel server without wasting time on downloading and uploading of files?  Then you are on right place.

Here we are going to guide you step by step to how to move files from one cpanel file manager to another cpanel file manager using php script.

Let’s go step by step with the whole procedure:

Step::1

Login to your cPanel account. Open your cpanel file manager and create a zip of files/folder.

Step::2

Check the location path of the file you want to transfer.

Step::3

Now login to your new cPanel account .

Step::4

Open File Manager and go into public_html.

Step::5

Create a new file with name transfer.php

Step::6

Right click on the newly created file (transfer.php) and choose the Edit option.

Step::7

Copy the code from the bottom of this article and paste it in the newly created file.

Step::8

Change the URL in the code with the URL of your file origin. Then click on Save changes and close the editor

Step::9

Now run the newly created file from a new window with your website URL For example: www.url.com/transfer.php

As soon as you hit the file from new window, the code written inside the file will execute and we will get the specified file in your new cPanel.

				
					<?php
$saif = shell_exec('wget http://dev1.appliancespotter.co.uk/BC.zip');
echo "<pre>$saif</pre>";
?>
				
			
Share this article:
Share on facebook
Share on linkedin
Share on twitter

Similar Posts

7 Trending Ways to Make Money Online

In recent years, the world has witnessed a significant increase in the number of people who are interested in making money online. The internet has

What is friction in term of physics?

Friction describes how objects move when they are subjected to a force or another material, such as the air or water. Friction exists in every

Get a Free Consultation

Contact Form Demo