Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: ftp_get_option - Manual
[go: Go Back, main page]

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

search for in the

ftp_get" width="11" height="7"/> <ftp_fput
Last updated: Sun, 25 Nov 2007

view this page in

ftp_get_option

(PHP 4 >= 4.2.0, PHP 5)

ftp_get_option — カレント FTP ストリームでの種々の実行時動作を取得する

説明

mixed ftp_get_option ( resource $ftp_stream , int $option )

この関数は、指定した FTP 接続について option の値を返します。

パラメータ

ftp_stream

FTP 接続のリンク ID

option

現在、以下のオプションがサポートされています:
サポートされる実行時 FTP オプション
FTP_TIMEOUT_SEC ネットワーク関連処理で使用されるカレントのタイムアウトを返します。
FTP_AUTOSEEK オプションが設定されている場合に TRUE を、それ以外の場合に FALSE を返します。

返り値

成功した場合はその値を、指定した option がサポートされていない場合は FALSE を返します。後者の場合は、 同時に警告メッセージも発生します。

Example#1 ftp_get_option() の例

<?php
// 指定した FTP ストリームのタイムアウトを取得する
$timeout ftp_get_option($conn_idFTP_TIMEOUT_SEC);
?>



add a note add a note User Contributed Notes
ftp_get_option
There are no user contributed notes for this page.

ftp_get" width="11" height="7"/> <ftp_fput
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites