How To Do a Server To Server File Transfer?

Ads

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

  • http://blog.eches.net eches

    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 :)

  • http://www.sizlopedia.com Dj Flush

    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:

  • http://www.whoismadhur.com Madhur Kapoor

    Great script DJ .

  • http://www.technoroute.com Jo

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

  • http://ww.ehsan.mobi Ehsan

    Nice Post and a very nice script

  • Machete

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

  • Paul M.

    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!

  • http://www.sizlopedia.com Dj Flush

    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.

  • http://www.xbb.tv Adrian

    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
    “.

  • http://www.sizlopedia.com Dj Flush

    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.

  • http://www.xbb.tv Adrian

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

  • http://www.geturfile.com bharan

    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

    I am wondering why this doesnt work with https connections?

  • http://www.sizlopedia.com Dj Flush

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

  • http://www.reviewsaurus.com ReviewSaurus

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

  • shaks

    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.

  • http://www.sizlopedia.com Dj Flush

    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.

  • http://www.xbb.tv Adrian

    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!!

  • Pingback: After The Dot Net » Blog Archive » links for 2007-09-02

  • Ann O’nym

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

  • http://www.sizlopedia.com Dj Flush

    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.

  • http://www.monsterauto.ca/advt_images/ Hitesh

    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

  • http://www.sizlopedia.com Dj Flush

    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

    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?

  • http://www.sizlopedia.com Dj Flush

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

  • szalinski

    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… :(

  • http://www.sizlopedia.com Dj Flush

    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

    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

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

  • frank

    Can the script take the sub directories as well?

    • Kareen

      Hey same problem here. Can I use this script to transfer files from a specific directory to other server directory? How will I change the script to work that way?

  • http://www.sizlopedia.com Dj Flush

    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

    thanks DJ Flush,

    I just download this script file

  • http://flash.teamerz.net Teamer

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

  • nara

    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

    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

    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

    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

    Hi,

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

    Regards
    Ashwani Pradhan

  • Anoosh

    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

    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

    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

    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!!!!

  • http://net2ftp.e-yug.com webbeezz

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

  • Geoff

    This is a great script.

    Thanks a lot and wish you the best!

  • preets

    HI Dj, Sciprt is working fine for non authenticated files but when I am trying this with password protected files its giving me Http error Can you please help me to resolve this?ITs very very urgent for me. Thanks in advance Preet

  • ali3781

    Hi Dear
    I have a problem with your script,when I want to transfer files more than 18 MB it doesn't work
    why?

    • hossein

      dear , you should change you php settings in php.ini and the scripts confog file … change sth like max upload size to what evere you like

  • ali3781

    Hi Dear
    I have a problem with your script,when I want to transfer files more than 18 MB it doesn't work
    why?

  • http://aboen.or.id/ aboen

    Thanks Dj very help.

  • http://aboen.or.id/ aboen

    Thanks Dj very help.

  • bjz

    great script.
    few bugs though.
    code's a bit dirty too.

  • bjz

    great script.
    few bugs though.
    code's a bit dirty too.

  • http://www.4smart.net mostafa adel – 4smart.net

    احرام على بلابله الدوح حلال للطير من كل جنس

  • Pras 88in

    it doent work for me dude..

  • Tim

    Thanks – that worked awesomely!!!

  • Subakarprabhu

    Hi
    It shows error while transferring zip file, remaining all extension are OK. how to resolve that?

  • Kasmsaleh

    Hi I’m kasm
    is there any more secure script like this