replacement for ftp_close

This is a discussion on replacement for ftp_close within the PHP Language forums, part of the PHP Programming Forums category; hi, I am using ftp_connect with php 4.1.x, and the manual states that ftp_close should be used to ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-27-2004
Felix Natter
 
Posts: n/a
Default replacement for ftp_close

hi,

I am using ftp_connect with php 4.1.x, and the manual states that
ftp_close should be used to close the connection when done, but it is
only available in php >= 4.2.0.

What should I do with php 4.1.x?

thanks,

--
Felix Natter
Reply With Quote
  #2 (permalink)  
Old 04-29-2004
Terence
 
Posts: n/a
Default Re: replacement for ftp_close

Felix Natter wrote:

> hi,
>
> I am using ftp_connect with php 4.1.x, and the manual states that
> ftp_close should be used to close the connection when done, but it is
> only available in php >= 4.2.0.
>
> What should I do with php 4.1.x?
>
> thanks,
>


ftp_quit();

I found this out by reading the ONLINE manual for the ftp_close()
function. The first user-contributed note answers your question.

Reply With Quote
  #3 (permalink)  
Old 04-29-2004
Felix Natter
 
Posts: n/a
Default Re: replacement for ftp_close

Terence <tk.lists@fastmail.fm> writes:

> Felix Natter wrote:
>
>> hi,
>> I am using ftp_connect with php 4.1.x, and the manual states that
>> ftp_close should be used to close the connection when done, but it is
>> only available in php >= 4.2.0.
>> What should I do with php 4.1.x?
>> thanks,
>>

>
> ftp_quit();
>
> I found this out by reading the ONLINE manual for the ftp_close()
> function. The first user-contributed note answers your question.


thanks, I thought that if the function doesn't exist, the
alias wouldn't exist either. But I just verified that it works.

--
Felix Natter
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0