downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ftp_connect> <ftp_chmod
[edit] Last updated: Fri, 17 May 2013

view this page in

ftp_close

(PHP 4 >= 4.2.0, PHP 5)

ftp_closeBir FTP bağlantısını kapatır

Açıklama

bool ftp_close ( resource $ftp_akımı )

ftp_akımı ile belirtilen FTP bağlantısını kapatır ve buna ayrılan özkaynağı serbest bırakır.

Bilginize:

Bu işlevi çağırdıktan sonra artık FTP bağlantısını kullanamaz ama ftp_connect() ile yeni bir tane oluşturabilirsiniz.

Değiştirgeler

ftp_akımı

FTP bağlantısının bağlantı tanıtıcısı.

Dönen Değerler

Başarı durumunda TRUE, başarısızlık durumunda FALSE döner.

Örnekler

Örnek 1 - ftp_close() örneği

<?php

// temel bağlantıyı kuralım
$conn_id ftp_connect($ftp_server);

// Kullanıcı adı ve parola ile oturum açalım
$login_result ftp_login($conn_id$ftp_user_name$ftp_user_pass);

// çalışma dizininin ismini basalım
echo ftp_pwd($conn_id); // /

// bağlantıyı kapatalım
ftp_close($conn_id);
?>

Ayrıca Bakınız



add a note add a note User Contributed Notes ftp_close - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites