<?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>mwh.geek.nz &#187; sftp</title>
	<atom:link href="http://mwh.geek.nz/tag/sftp/feed/" rel="self" type="application/rss+xml" />
	<link>http://mwh.geek.nz</link>
	<description></description>
	<lastBuildDate>Sun, 27 Nov 2011 03:40:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Python 3 SFTP library</title>
		<link>http://mwh.geek.nz/2009/11/13/python-3-sftp-library/</link>
		<comments>http://mwh.geek.nz/2009/11/13/python-3-sftp-library/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 09:44:11 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Hermit]]></category>
		<category><![CDATA[paramiko]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[python 3]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://mwh.geek.nz/?p=144</guid>
		<description><![CDATA[As PyCrypto and Paramiko are not ported to Python 3 yet, I&#8217;ve put together a library providing basic SFTP functionality for the interim. It wraps the ssh executable (not the command-line sftp client) and speaks the wire protocol over the encrypted channel. The library currently has support for connecting, listing directories, getting files, putting files, [...]]]></description>
			<content:encoded><![CDATA[<p>As PyCrypto and Paramiko are not ported to Python 3 yet, I&#8217;ve put together <a href="https://gytha.org/py3sftp/">a  library    providing basic SFTP functionality</a> for the interim. It wraps the    <kbd>ssh</kbd> executable (not the command-line <kbd>sftp</kbd> client) and speaks the <a href="http://www.openssh.com/txt/draft-ietf-secsh-filexfer-02.txt">wire protocol</a> over the encrypted channel.</p>
<p>The library currently has support for connecting, listing directories,    getting files, putting files, removing files, creating directories, and removing directories. There&#8217;s also support for sending raw SFTP packets if necessary.</p>
<p>Everything is at a pretty early state and in rough form; there&#8217;s little to no error handling at all, and it&#8217;s only been tested against the servers I ordinarily have access to (a few fairly recent versions of OpenSSH). Use at your own risk, and patches welcome. Comments on the interface and API too.</p>
<p>It can be downloaded with either <kbd>git clone https://gytha.org/py3sftp/</kbd> or <kbd>git clone git://gytha.org/py3sftp</kbd>.</p>
<p>It&#8217;s going to be integrated into another project I&#8217;m working on (the one that prompted me to write it, oddly enough), but I plan to keep maintaining it separately at least until Paramiko is available, and perhaps beyond since I like piggybacking on the functionality of OpenSSH itself (VisualHostKey is great).</p>
]]></content:encoded>
			<wfw:commentRss>http://mwh.geek.nz/2009/11/13/python-3-sftp-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

