News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Juozas Kaziukenas's Blog:
Using Phing to sync files with shared hosting
March 02, 2009 @ 13:41:12

Juozas Kaziukenas has a new post to his blog today looking at using Phing to keep files in sync on a shared hosting, FTP only kind of environment.

Today I was trying to use [Phing] in shared hosting server, but as you will see, Phing can't do a lot of it's functionality without direct access to server (over shh for example). [...] Things get worse, when you try to sync files in shared hosting environment, where only FTP is available. [...] Code in the hole some months ago posted solution which uses Net_FTP (FTP functionality wrapper) package to upload files to server. I decided to try given solution, so I modified it to download source code from SVN first and then upload them.

His Phing configuration sets up the application, defining the source directory, the files to push, the FTP connection to make and pushes the files over out of an svn export. He has a slightly different solution (no code/config for this one) that would grab the last revision value from the remote server and only push out the files have have changed since then.

2 comments voice your opinion now!
phing sync files shared hosting ftp subversion svn source configuration


blog comments powered by Disqus

Similar Posts

Juozas Kaziukenas's Blog: Using Phing to sync files with shared hosting

Pierre-Alain Joye's Blog: PEAR-1.4.10 released, open_basedir support enhanced

Noupe.com: 13 Great WordPress Speed Tips & Tricks for MAX Performance

David Goodwin's Blog: Release - Pale Purple's Trac Project Planning Board

Zend Developer Zone: Mike Potter Announces "The (Unofficial) Adobe PHP SDK"


Community Events

Don't see your event here?
Let us know!


application community symfony2 performance version extension opinion interview introduction library voicesoftheelephpant api conference podcast php7 laravel series release example framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework