Sizlopedia

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanOversetter til Norsk/NorwegianПереведите к русскому/RussianΜεταφράστε στα ελληνικά/GreekVertaal aan het Nederlands/Dutchترجمة الى العربية/Arabic中文翻译/Chinese Traditional中文翻译/Chinese Simplified한국어에게 번역하십시오/Korean日本語に翻訳しなさい /JapaneseTraduza ao Português/PortugueseTraduca ad Italiano/ItalianTraduisez au Français/FrenchTraduzca al Español/Spanish

How To Do a Server To Server File Transfer?

Hello once again! As I always try to give my readers a taste of something new so today I shall be introducing a very unique and hard-to-find script that helps anyone transfer a file from server to server easily and efficiently.

Script Details

Its called the Server To Server File Transfer Script or simply SST and it was created by James Azarja from Jazarsoft. Its actually a PHP Class whose main purpose is to transfer files from one server to other server without having the need to first download the file to your local PC and then Upload it manually to the server Now thats cool for me atleast

Script Functioning

Here is a little detail how the script functioning takes place. The moving process occurs by using HTTP protocol (by GET request) after the data is requested it will be saved in the local web server. So to use the script you have to install it in the target web server where the file will be moved

Script Requirements

The web server where the script will be installed should meet the following requirements:

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

Normally most web servers meet these requirements

Script Features
Here are the main features of this script:

  • Transfer files easily from one server to another server
  • Files are transferred utilizing the web server speed and bandwidth e.g. If you transfer a file of 10 MB it will hardly take you 7-8 seconds
  • No need to download files to your Local PC and Upload them manually to the server. This script does the job for you
  • The script is rare as far as I know but here at Sizlopedia you can download it
  • The script is free to download and distribute
  • Very small and light scrip. Just a 6kb ZIP archive
  • The script uses very less amount of server resources
  • Script even works with Redirection URLs
  • The script also works for files behind a password
  • Transfer any type of file i.e. File with any extension

Script Installation

The script installation is a simple 2 step process:

  1. Copy sst.php, downloader.php and script.inc.php to desired directory
  2. Call sst.php using your browser

Note: Please note that by default the script supports the transfer of file whose size should be maximum 5MB. This can easily be changed to any max value simply by redefining the $maxsize variable in the downloader.php file that comes in the ZIP archive.

Download Script

Script can be downloaded from the following link Download Server To Server File Transfer Script

Comments on this Post

  • eches says:

    Correct me if I’m wrong, is it trasnfer of data from one hosting to another? if this is it, you are cool DJ Flush :)

  • Dj Flush says:

    Indeed It really is the transfer of data from one hosting to another Eches :grin:

    You can read the top most feature which says:

    Transfer files easily from one server to another server

    It is one of the best scripts I have ever used :wink:

  • Jo says:

    thanks a great script can’t wait to try this one out.

  • Ehsan says:

    Nice Post and a very nice script

  • Machete says:

    This looks like a great script! Has anyone ever seen anything like this for ASP?

  • Paul M. says:

    i found this one on the net: http://directransfer.net i moved a site under 10Mb for free! for bigger files u need to buy traffic but for smaller ones – it works great with no money!

  • Dj Flush says:

    MacheteI usually work in PHP but if you want a similar script for ASP you can try HotScripts.

    Paul Honestly that was one great find. Thanks a lot for sharing.

  • Adrian says:

    Thanks for the script. But I can’t used it, because it’s keep on pop up this alert message “Warning: fopen(/home/xbbtv/public_html/index.htm) [function.fopen]: failed to open stream: Permission denied in /home/xbbtv/public_html/downloader.php on line 246
    “.

  • Dj Flush says:

    Adrian From what I assume is the directory you are saving the file to is not writable?

    CHMOD the directory to 777 and try again.

  • Adrian says:

    Thanks, it’s working. Besides, I also encoutered few other error messages, such as “http eror code 403 and 404″.

  • bharan says:

    Great Script.. Gonna Try it now..

    Keep the good work.

    I am providing alternative link for that as well

    http://www.megaupload.com/?d=G8TWMJB8

  • dink says:

    I am wondering why this doesnt work with https connections?

  • Dj Flush says:

    dink I think probably because the script has been written only for normal authentication and has no code written for secure connections.

  • ReviewSaurus says:

    wow that’s a cool find. I’m sure it will come in handy when someone wants to move the host.

  • shaks says:

    hello,

    i have a quite similar problem, but i need to remote transfer files from one server which has php support to my other server which does not support php.
    i read that this possible, but maybe anyone can help out with this? do i use a special script? i might need SSL access on my php server…but it’s not a problem.

    thanks for helping me.

  • Dj Flush says:

    Shaks To be very honest I do not have any idea how that will be possible as I deal with php scripts only and this script is mainly for people who have php support on both ends of server.

    You can google around and search for a solution and if you find one please share it with us.

  • Adrian says:

    Thanks guys,
    I agreed with DJ Flush. The script has not been written for secure connections.
    I already tried few times and not working, so I decided to use ssh to transfer my server contents.
    Anywhere, it’s a good script for low volume of files transfer from server to server!!

  • Ann O'nym says:

    What are the SSH commands to transfer from a server to another?

  • Dj Flush says:

    If you are going to use the script you won’t need SSH access or commands. However if you asking specifically for SSH commands then I am sorry I don’t know.

  • Hitesh says:

    Hello

    Thanks you for the script. Its working fine for 1 file but I want to download more than one files at a time, how can I do that using your code.

    Thanks & Regards

  • Dj Flush says:

    I am not the author of this script so perhaps I may not be able to guide you correctly but as far as my assumption is concerned I would say that the script does not allow multiple file transfer simultaneously.

  • Sean says:

    Hey,

    Having a problem with this script. I own 2 seperate hosting accounts, both with different people. I want to transfer a rather large file from one to the other, but it doesn’t seem to be working.

    I type in the file link and then type in where I want it saved to and then go ahead with it. After a second the page refreshes and goes back to the default settings and the file didn’t transfer.

    Any ideas on what I’m doing wrong?

  • Dj Flush says:

    Please make sure that the folder on the server where you are transferring files is CHMOD to 0777

  • szalinski says:

    Does this script support resuming the file transfer for big files (if the connection breaks or times out)? I am working on a PHP resume function myself but I can’t get the GET request to work after the HEAD request – as if the HEAD request is closed immediately or something… :(

  • Dj Flush says:

    I am not sure if it supports resuming for big file transfers but as far as I can predict I think it does not.

  • Farouk says:

    You’re a life saver, this script saved me as i was trying to download a file which is blocked from my company connection! I like the script because it’s easy to use with no need to change any parameters!

    Many thanks for the script!!! it worked with me without problems.

  • Ony says:

    I want to move about 5Gb mp3 to another site…is it possible to do so with this script?

  • frank says:

    Can the script take the sub directories as well?

  • Dj Flush says:

    Ony Yes the script can do that easily.

    Frank Sorry but I did not get you? Do you mean you want to transfer and save a file somewhere in your sub directory?

  • eosmate says:

    thanks DJ Flush,

    I just download this script file

  • Teamer says:

    Nice Script man Thanks! You saved a lot of my time.

  • nara says:

    I have an error when I want to use this script

    Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in mydomain/sst.php on line 135

    my server using safe mode for security reason. I hope you can help me.

  • TJ says:

    Installed the script, set directory permissions etc.

    Don’t get any errors, but all my downloads (regardless of size) stop at around 234576 bytes, give or take a few thousand bytes.

    Any ideas?

    Thank you.

  • Ony says:

    This script cant transfer file larger than 5 MB…i tried few avi file to transfer from another site.but its having error

  • Andy Bush says:

    Hi

    For files larger than 5 Mb and entire folders I use this 1-click ftp to ftp transfer site http://directransfer.net

  • Ashwani Pradhan says:

    Hi,

    Its very good script,It short out my big issue.
    Thanks for this good effort, keep making unconventional
    scripts.

    Regards
    Ashwani Pradhan

  • Anoosh says:

    Dears,

    when i click “move”, the page just loads itself again! no files :(

    could you help please?

    wonder if u send me mail on reply. because this post is old.

  • mani says:

    Hi Flush,

    I have Windows 2003 Server in India and another server in US. This script will support data synchronization of two different network. Please help me. If you have any useful link for data synchronization of two different network means please send me the link or script. Thanks in advance.

  • genix says:

    Hello,

    this script is good, but as I see from the source, it’s not made for big files.
    First there is given a maxsize of 1048576*5 Bytes, second the file, which is being transferred, is first loaded in a variable, and then written to disk.

    So it is a great script for transferring small files.

    bye
    genix

  • Eduardo says:

    Thanks, bro! You’re the man!!! I’ve been looking for FTP clients with this functionality, but you’ve provided a much much better solution!!!!

  • webbeezz says:

    Try this one you will definitely got the one you are lookin, this is online ftp transfer. great solution for server transfer.

Trackbacks/Pingbacks

  1. After The Dot Net » Blog Archive » links for 2007-09-02

Leave a Reply