<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Using PHP&#8217;s Program Execution Functions for SFTP</title>
	<atom:link href="http://www.toppa.com/web-architect/web-design-and-programming/using-phps-program-execution-functions-for-sftp/feed" rel="self" type="application/rss+xml" />
	<link>http://www.toppa.com/web-architect/web-design-and-programming/using-phps-program-execution-functions-for-sftp</link>
	<description>Project Advisor - Business Analyst - Technology Advisor - Methodologist - Solutions Advisor</description>
	<pubDate>Wed, 23 Jul 2008 07:47:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Christian</title>
		<link>http://www.toppa.com/web-architect/web-design-and-programming/using-phps-program-execution-functions-for-sftp#comment-3545</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Thu, 28 Feb 2008 03:05:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.toppa.com/blog/technobabble/322#comment-3545</guid>
		<description>Great read. Great code. Thanks!!</description>
		<content:encoded><![CDATA[<p>Great read. Great code. Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.toppa.com/web-architect/web-design-and-programming/using-phps-program-execution-functions-for-sftp#comment-3280</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 30 Jun 2007 02:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.toppa.com/blog/technobabble/322#comment-3280</guid>
		<description>Hi Jay,

It's this version of phpsh:

PHP 4.4.0 (cli) (built: Oct  4 2005 13:56:49)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

Have you confirmed that the path to your key file is correct in the script (especially if you're using a relative path)? My example script could be improved with a file_exists check on $keyPath.

If your key file path is fine, and you put the -o option back in, which error message do you get? I'm wondering if you're failing to connect to the server, or if your connecting but getting messages from the server thta my script isn't expecting.

Mike T</description>
		<content:encoded><![CDATA[<p>Hi Jay,</p>
<p>It&#8217;s this version of phpsh:</p>
<p>PHP 4.4.0 (cli) (built: Oct  4 2005 13:56:49)<br />
Copyright (c) 1997-2004 The PHP Group<br />
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies</p>
<p>Have you confirmed that the path to your key file is correct in the script (especially if you&#8217;re using a relative path)? My example script could be improved with a file_exists check on $keyPath.</p>
<p>If your key file path is fine, and you put the -o option back in, which error message do you get? I&#8217;m wondering if you&#8217;re failing to connect to the server, or if your connecting but getting messages from the server thta my script isn&#8217;t expecting.</p>
<p>Mike T</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Laseman</title>
		<link>http://www.toppa.com/web-architect/web-design-and-programming/using-phps-program-execution-functions-for-sftp#comment-3278</link>
		<dc:creator>Jay Laseman</dc:creator>
		<pubDate>Thu, 28 Jun 2007 21:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.toppa.com/blog/technobabble/322#comment-3278</guid>
		<description>In your example, you have "#!/usr/local/bin/phpsh"

Is this the interactive phpsh shell from phpsh.org?

I ran your script on my system and am having problems.
My sftp and ssh work fine from the command line so I know my keys ae good. But when I run the script I get prompted for a password ( I took the -o no password option out to see what was happening) I am running RH Core 5 with php 5.1.6</description>
		<content:encoded><![CDATA[<p>In your example, you have &#8220;#!/usr/local/bin/phpsh&#8221;</p>
<p>Is this the interactive phpsh shell from phpsh.org?</p>
<p>I ran your script on my system and am having problems.<br />
My sftp and ssh work fine from the command line so I know my keys ae good. But when I run the script I get prompted for a password ( I took the -o no password option out to see what was happening) I am running RH Core 5 with php 5.1.6</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://www.toppa.com/web-architect/web-design-and-programming/using-phps-program-execution-functions-for-sftp#comment-3279</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Tue, 22 May 2007 21:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.toppa.com/blog/technobabble/322#comment-3279</guid>
		<description>Thanks for this example.

One nitpick, why not create a function to handle the closing?</description>
		<content:encoded><![CDATA[<p>Thanks for this example.</p>
<p>One nitpick, why not create a function to handle the closing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paulus</title>
		<link>http://www.toppa.com/web-architect/web-design-and-programming/using-phps-program-execution-functions-for-sftp#comment-3281</link>
		<dc:creator>Paulus</dc:creator>
		<pubDate>Wed, 15 Nov 2006 02:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.toppa.com/blog/technobabble/322#comment-3281</guid>
		<description>Thank you very much for this article. These days I am relying far too much on Google's first couple of result pages, but luckily I found this.

Upgrading to PHP5 or installing the PECL/ssh2 library was not an option for me either so this is perfect.

Just now receiving the error: "Couldn't read packet: Connection reset by peer". But I have now given up on SFTP via PHP.</description>
		<content:encoded><![CDATA[<p>Thank you very much for this article. These days I am relying far too much on Google&#8217;s first couple of result pages, but luckily I found this.</p>
<p>Upgrading to PHP5 or installing the PECL/ssh2 library was not an option for me either so this is perfect.</p>
<p>Just now receiving the error: &#8220;Couldn&#8217;t read packet: Connection reset by peer&#8221;. But I have now given up on SFTP via PHP.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
