<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sitek Blog &#187; ftp</title>
	<atom:link href="http://blog.sitek.com.au/tag/ftp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sitek.com.au</link>
	<description>About IT and Technology</description>
	<lastBuildDate>Fri, 03 Jul 2009 23:37:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using FTP to Sync</title>
		<link>http://blog.sitek.com.au/2008/03/using-ftp-to-sync/</link>
		<comments>http://blog.sitek.com.au/2008/03/using-ftp-to-sync/#comments</comments>
		<pubDate>Sun, 09 Mar 2008 10:42:54 +0000</pubDate>
		<dc:creator>James Moey</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://blog.sitek.com.au/?p=5</guid>
		<description><![CDATA[Today, I discover a very exciting and useful tool, lftp. I was looking for a way to sync my client&#8217;s work on my development machine with client&#8217;s production machine. Even though the project is stored on SVN. I have no SSH access to the client production machine. The only access to the machine is FTP. [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I discover a very exciting and useful tool, lftp. I was looking for a way to sync my client&#8217;s work on my development machine with client&#8217;s production machine. Even though the project is stored on SVN. I have no SSH access to the client production machine. The only access to the machine is FTP. After some searches, I found lftp. The thing I like about it, is that it is possible to script ftp to automate future synchronization. That is an excellent and important feature to have.</p>
<p>This is what I have in my lftp script file, lftp.script</p>
<pre>
open serverhost
user username password
lcd localdirectory
cd remotedirectory
mirror -R --only-newer</pre>
<p>When I want to sync the directory, I just run the command &#8220;lftp -f lftp.script&#8221;. This will synchronize the two directory. Of course, this is the last option if client machine does not have SSH and/or SVN installed.</p>
<p>More information about lftp tool can be found here, <a href="http://lftp.yar.ru/">http://lftp.yar.ru/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sitek.com.au/2008/03/using-ftp-to-sync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
