By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,047 Members | 1,257 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,047 IT Pros & Developers. It's quick & easy.

replacement for ftp_close

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.

Jul 17 '05 #2

P: n/a
Terence <tk******@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
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.