• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Transfer FTP Files Directly From One Server to Another

By Abhishek Ghosh April 1, 2014 8:22 am Updated on April 1, 2014

Transfer FTP Files Directly From One Server to Another

Advertisement

Transfer FTP Files Directly From One Server to Another and Bypass the Huge Amount of Time Required to Download on Your Computer and Upload. As we said for DNS Setup for Rackspace Cloud Sites to Cloud Server Migration and in Rackspace Cloud Sites to Cloud Server Migration Guide like articles, transfer of files for migration reasons is quite important.

If you want to deal in complicated situation, you can use Hostgator like B Grade Webhosting for dumping purpose, they practically costs very low (11 USD for “Business” Plan, actually it is Shared Server) plus you’ll get $100 Google AdWords Voucher. There is no loss for that month, you can run PHP scripts, Perl Scripts. Actually, within being same system (we are taking about being on Amazon, Rackspace etc.), there can be bizarre errors during moving due to conflicts.

 

Transfer FTP Files Directly From One Server to Another : Major Methods

 

First, you need to Zip. We are describing the first set of methods for those who has no command line root access, Like in case of Rackspace Cloud Sites. We have very easy WordPress Plugin named FTP to Zip to zip all the contents of public folder. There are Perl and PHP scripts available to pull from another server, a simple PHP script will be like this :

Advertisement

---

 

Vim
1
2
3
4
5
6
7
8
9
<?php  
    echo "The Script is Working...<br>";  
    $fck = file_get_contents('http://downloads.wordpress.org/plugin/ftp-to-zip.1.8.zip') or die('Failed to Fetch the File');  
    $fp  = fopen('./ftp-to-zip.1.8.zip', 'w+') or die('Something Went Wrong?');  
    fputs($fp, $fck) or die('Could not write to the file');
    fclose($fp);    
    unset($fck);    
    echo "All Done!";
?>

 

Note that :

Vim
1
2
3
4
5
# The $fck is just a name and the url is for example
$fck = file_get_contents('http://downloads.wordpress.org/plugin/ftp-to-zip.1.8.zip') or die('Failed to Fetch the File');  
# In the same way :
$fp  = fopen('./ftp-to-zip.1.8.zip', 'w+')
# the file name & extension should be mentioned

There is an excellent tool for Rackspace Cloud Sites named Zipit. It is fully free software and you can grab it from Github or Rackspace’s guide pages. It zips and uploads both FTP content and MySQL database to Cloud Files. The Cloud Files container remains Private. You can use Hostgator like web host and change DNS to fetch content if you are not using Rackspace Cloud Sites, in fact we used Hostgator to simplify the migration. It is a fully third party, to the chance of messing up is less. With Clouflare it takes 5 minutes to propagate domain name. Most have many unused domains.

There is no other practical method to Transfer FTP Files Directly From One Server to Another without any error, in case root access is not available. FTP menthols usually fails if both server has no root access. With SFTP and WinSCP it is possible to automate :

Vim
1
http://winscp.net/eng/docs/guide_automation

In case, both hosts has no root access, still you can use com monad line on your computer to wget* the tar ball. At least you can resume with -c function in case downloading halts. Downloading with GET function (over browser) is risky for bigger files.

 

Transfer FTP Files Directly From One Server to Another : Major Methods With Command Line

 

Cream. There are hundreds of methods. The new Server with root access is actually a full computer. So you can run SFTP commands :

Transfer-FTP-Files-Directly-From-One-Server-to-Another

Vim
1
2
3
4
5
6
7
8
$ cd /var/www
$ pwd
/var/www
$ sftp username@RackspaceIP
ftp > cd www.your-site.com/web/content/
ftp > get -r *
# or
ftp > get -r www.your-site.com/web/content

It has resume function. Another popular method is using rsysc. You need to install rsync on new server; usage is like this :

Vim
1
2
$ rsync -v -e ssh /www/content.tar.gz username@RackspaceIP:~
# run man rsync to view the usage

*Last way is to use our favorite wget command. GNU wget is so powerful, we love it. Simply,

Vim
1
2
3
wget http://your-site.com.tar.gz
# if breaks continue
wget -c http://your-site.com.tar.gz

or make the Cloud Files CDN Public and wget it. Obviously, untar it using tar -xzvf command.

Note : New Generation Cloud Servers of Rackspace needs no need to copy in this way. You can backup using create image function.

Tagged With can i directly transfer file from one ftp account to another , can you use ftp to transfer directly from one web host to another , directly to one another Advertisement , ftp files from one server to another , how to transfer files from one server to another server via ftp on solaris server , transfer files from one ftp to another ftp directly
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Transfer FTP Files Directly From One Server to Another

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Rackspace Cloud Sites to Cloud Server Migration Guide and Blueprint

    Rackspace Cloud Sites to Cloud Server Migration is Possibly Now Onwards Should Be in Consideration to the Old Users Lesser Pricing and Robust Performance.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • Installing WordPress on Rackspace Cloud Sites : Step by Step Guide

    Installing WordPress Rackspace Cloud Sites is very easy. However, Rackspace uses their own version of Control Panel. Here is full step by step guide.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy