Reply to Re: ftp_close() vs. ftp_quit()

Your name:

Reply:


Posted by Schraalhans Keukenmeester on 05/21/07 14:51

At Mon, 21 May 2007 13:34:50 +0200, Markus let his monkeys type:

> Hi
>
> I encountered that FTP connections seem to remain open on the FTP
> server, though my FTP class has a shutdown function that ftp_quit()s the
> connection.
>
> I did not find any info in the manual regarding the differences of
> ftp_close() and ftp_quit(). Do I have to use ftp_close()? Or even first
> close, then quit? Is it possible that ftp_quit() does not close the
> connection on the FTP server? Or do I have to look for something else?
>
> Thanks for some hints!
> Markus

How exactly did you assert the connection wasn't closed after ftp_close()?
Just tried it on my localhost and my isp's server, in both cases the
connection is closed according to the vsftpd log (localhost) and the Plesk
Control Panel (isp).

Where did you find the types involved with ftp_quit()?
The dutch php manual mirrors don't give any return and parameter
type for ftp_quit():
http://nl2.php.net/manual/en/function.ftp-quit.php
http://nl2.php.net/manual/en/function.ftp-close.php

Sh.

[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

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