I am thinking this package should include the Zend Lib files and a note that this is using the psftp executable from putty. I like the idea of what the author is doing. However, I think the author should structure the class in such a way that it can be easily extended to add other options such as ftp or sftp type connections and different output types.
David Passey - 2010-12-22 15:32:23 - In reply to message 1 from Jeffrey
Thanks for the question.
I'm not sure what you mean by including the Zend Lib files. In the example script, it states that you need to have a few things configured; the Zend framework and Putty. I would think that this would imply that you would be using the Zend Lib files and psftp.exe to perform SFTP/FTP operations. If the port setting is set to 21 (instead of the default 22), then FTP will occur instead of SFTP.
As for the different output types, I chose XML because it is easily consumed by many different platforms (ie. PHP, Flex/Flash, Python, etc.). I wanted to keep the size of the package to a minimum.