Currently Viewing Posts Tagged passwordless

How to Synchonize files between two Dreamhost accounts

If you have two Dreamhost ftp account with SSH permission, and you want to transfer the content from account A to Account B, you need following script to do it.
It is simply one line shell command. I save it into a sh file. Schedule to run it every two hours.
Here is the script for you.
Name of Account A: ftp2010
Host name for ftp2010: hosting.mydomain.com
Name of Account B: ftp2011
Host name of ftp2011: hosting.yourdomain.com
The target is to transfer all files under ftp2010 to ftp2011 at hosting.yourdomain.com

Continue reading “How to Synchonize files between two Dreamhost accounts”

  • Archives