Re: Problem with ftp_get and ftp_put over SSL--SOLVED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-02-23 at 15:58 -0500, Tim Boring wrote:
> Hi, Richard!
> 
> On Wed, 2005-02-23 at 08:45 -0800, Richard Lynch wrote:
> > Maybe try the active/passive thing...
> >
> > Often-times, the client/server will/won't allow one or the other, based on
> > their idea of what's safe/fast.
> 
> Yes, I tried that, too.  Sorry, I didn't mention that in my original
> post.  I appreciate the suggestion!

It was in fact the active/passive thing!  Being a newbie to phpunit2, I
didn't realize that each test creates a new object; thus, although I had
a test to test the passive function, the passive connection to the ftp
server got destroyed with the object at the end of that test.  So, I had
to modify my test code to set the active connection to passive within
each test.  

Tim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux