|
Posted by Tim Boring on 03/07/05 22:21
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
Navigation:
[Reply to this message]
|