Reply to Re: [PHP] Problem with ftp_get and ftp_put over SSL--SOLVED

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация