PHP Classes

I am thinking this package should include the Zend Lib files ...

Recommend this page to a friend!

      ZEND_EPS_PUTTY  >  All threads  >  I am thinking this package should...  >  (Un) Subscribe thread alerts  
Subject:I am thinking this package should...
Summary:Package rating comment
Messages:2
Author:Jeffrey
Date:2010-09-14 14:54:54
Update:2010-12-22 15:32:23
 

 

Jeffrey rated this package as follows:

Utility: Not sure
Consistency: Sufficient
Examples: Good

  1. I am thinking this package should...   Reply   Report abuse  
Picture of Jeffrey Jeffrey - 2010-09-14 14:54:54
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.

  2. Re: I am thinking this package should...   Reply   Report abuse  
Picture of David Passey 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.