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. PHP Include Function Error, How To Fixed That?
  3. Cheapest 6 dollar VPS Hosting With Two Web Server Options Feature
  4. How To Managed DNS From Your Own Site
  5. If Your Hosting Down

This entry was posted on Saturday, January 16th, 2010 at 2:35 am and is filed under Web and Applications. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

6 Responses to “Server To Server File Transfer With PHP Script”

  1. Server To Server File Transfer With PHP Script | Kerja Keras Adalah Energi Kita Says:

    [...] the rest here: Server To Server File Transfer With PHP Script AKPC_IDS += “13825,”;Popularity: unranked [?] Tags: bandwidth-usage, based-on-bandwidth, [...]http://www.peringkatsatu.co.cc/server-to-server-file-transfer-with-php-script.html

  2. Server To Server File Transfer With PHP Script | A2Z Of Web Says:

    [...] Link: Server To Server File Transfer With PHP Script [...]http://www.a2zwebindia.com/server-to-server-file-transfer-with-php-script/

  3. scaricareMp3 Says:

    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
  4. El Nino Says:

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

    ReplyReply
  5. http://www.thediscountguru.com/clickbank-affiliate-loophole Says:

    There is so much information here! I’m trying to remember all of it so I can put it to work. …

    Another great post! …

  6. Jocuri Arcade Says:

    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
 

Leave a Reply