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

search for in the

ftp_nb_fget> <ftp_mkdir
Last updated: Fri, 10 Oct 2008

view this page in

ftp_nb_continue

(PHP 4 >= 4.3.0, PHP 5)

ftp_nb_continueファイルの取得/送信を継続する(非ブロッキング)

説明

int ftp_nb_continue ( resource $ftp_stream )

非ブロッキングモードで、ファイルの取得/送信を継続します。

パラメータ

ftp_stream

FTP 接続のリンク ID 。

返り値

FTP_FAILEDFTP_FINISHED あるいは FTP_MOREDATA を返します。

例1 ftp_nb_continue() の例

<?php

// ダウンロードを開始する
$ret ftp_nb_get($my_connection"test""README"FTP_BINARY);
while (
$ret == FTP_MOREDATA) {

   
// ダウンロードを継続する…
   
$ret ftp_nb_continue($my_connection);
}
if (
$ret != FTP_FINISHED) {
   echo 
"There was an error downloading the file...";
   exit(
1);
}
?>



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

ftp_nb_fget> <ftp_mkdir
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites