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

From: Date: Mon, 07 Mar 2005 20:21:17 +0000
Subject: Re: Problem with ftp_get and ftp_put over SSL--SOLVED
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-210185@lists.php.net to get a copy of this message
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

« previous php.general (#210185) next »