ftp_nb_continue
ftp_nb_continue — ファイルの取得/送信を継続する(非ブロッキング)
説明
int ftp_nb_continue ( resource ftp_stream )非ブロッキングモードで、ファイルの取得/送信を継続します。
パラメータ
- ftp_stream
-
FTP 接続のリンク ID 。
返り値
FTP_FAILED、FTP_FINISHED あるいは FTP_MOREDATA を返します。例
例 686. 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);
}
?>
Weblioに収録されているすべての辞書からftp_nb_continueを検索する場合は、下記のリンクをクリックしてください。

- ftp_nb_continueのページへのリンク