Sizlopedia

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

For more Free Tips ad Tricks!  Subscribe or get  Free Email Updates

Comments

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

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

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

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!

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.

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

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.

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

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?

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

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.

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.

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

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

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.

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

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?

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

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?

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

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

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

    Sep 2, 2007

Leave a Comment

Name: (Required)

E-mail: (Required)

Website: (Optional)

Comment: