-->

Server To Server File Transfer With PHP Script

Just yesterday my friend want to moving his blog from free hosting into paid hosting. But there are several problem, he using internet connection based on bandwidth usage, so he cant moving his file manually because it will spend out his bandwidth limit.
Then i suggested him for transferring his files through remote FTP since his free hosting using CPanel, so i know there are feature such like remote FTP.

FTP Remote Backup

FTP Remote Backup

But it was failed too.. seems like his free hosting has disabled that features.. Then i remember there are many simply PHP scripting for remote uploads similar like Rapidleech. Javarsoft SST is one of them.

No need difficult installation, just uploaded the files and using it.

server to server file transfer

server to server file transfer

If you want to increased maximal upload (5MB default) just edit some lines on downloader.php files:
line 78: (timeout value)

$this->timeout = 30;

change into higher value for more timeout, ie;

$this->timeout = 30000000;

line 155: (max. upload)

$maxsize=1048576*5;

change the multiplied into higher valued, it reflected in MB, so if we want to increased into 15 MB ?, it will like this:

$maxsize=1048576*15;

file transfer progress

file transfer progress

There are some requirement for running this script:

  1. Using Linux/Windows
  2. Have PHP Interpreter version 4 or higher
  3. PHP was set to allow Remote File Access
    (setting “allow_url_fopen” = true)

Notes:

  • Sometimes we cant transferred file larger than 15 MB due to various reason (sometimes show exhausted memory and cannot be fixed even we increased mem limit through local php.ini).
  • In some case, it will process in your browser background, will not eat your bandwidth, but slowed your browser.

Related posts:

  1. PHP Simple Logout Script
  2. Cheapest 6 dollar VPS Hosting With Two Web Server Options Feature
  3. PHP Include Function Error, How To Fixed That?
  4. How To Managed DNS From Your Own Site
  5. If Your Hosting Down


Share To Facebook | Tweet! This | Watch The Video


 
9 Comments. Leave Comment Or Trackback.
  1. Pingback
    Trackback: Server To Server File Transfer With PHP Script | Kerja Keras Adalah Energi Kita • January 16 2010

    Server To Server File Transfer With PHP Script | Kerja Keras Adalah Energi Kita

  2. Pingback
    Trackback: Server To Server File Transfer With PHP Script | A2Z Of Web • January 16 2010

    Server To Server File Transfer With PHP Script | A2Z Of Web

  3. Pingback
  1. #3 • Date 24 January 2010, scaricareMp3 said:
     

    Wooow it worked great but one thing is bad, which is it transfer only files with max size 50MB
    is there a solution for this dis advantage?

    ReplyReply
  2. #4 • Date 26 January 2010, El Nino said:
     

    @scaricareMp3:
    Too bad its not even 50MB :( but only 15 MB so far work perfectly.

    ReplyReply
  3. #6 • Date 8 March 2010, Jocuri Arcade said:
     

    Thanks for shaire important IT information server based data transfer using of PHP. This post is very important for me and other IT professionals.

    ReplyReply
  4. #7 • Date 20 March 2010, Removals Isleworth said:
     

    If I’m mistaken, here in this post you will give the free 500 entrecard right? How can I get an entrecard?

    ReplyReply
  5. #8 • Date 1 April 2010, chicago limousine service said:
     

    Hi,
    What free hosting that allow to use cpanel? I have used free domains before but none of them uses cpanel?

    ReplyReply
  6. #9 • Date 14 August 2010, tuba said:
     

    Luckily I have transferred using cpanel and seems working. Thanks for sharing this wonderful tool.

    ReplyReply

 

Comment With Facebook?

Comment:

 
 
-->