http://code.google.com/p/cmclasses/source/detail?r=915
Modified:
/trunk/src/Net/FTP/Client.php5
=======================================
--- /trunk/src/Net/FTP/Client.php5 Tue Sep 20 06:58:15 2011
+++ /trunk/src/Net/FTP/Client.php5 Mon Jan 30 22:21:28 2012
@@ -52,10 +52,13 @@
/**
* Constructor, opens FTP Connection.
* @access public
- * @param Net_FTP_Connection $connection FTP Connection Object
+ * @param string $host Host Name
+ * @param integer $port Service Port
+ * @param string $username Username
+ * @param string $password Password
* @return void
*/
- public function __construct( $host, $port, $path = NULL, $username =
NULL, $password = NULL )
+ public function __construct( $host, $port = 21, $path = NULL, $username =
NULL, $password = NULL )
{
try
{