This tutorial is about a simple PHP ftp function to do file upload download function Oh, well, let's take a look at the simple example tutorial.
This tutorial is about a simple PHP ftp function to do file upload download function Oh, well, let's take a look at the simple example tutorial.
Begin
$ret = Ftp_nb_get ($my _connection, "test", "README", Ftp_binary,
FileSize ("test"));
Or: $ret = Ftp_nb_get ($my _connection, "test", "README",
Ftp_binary, Ftp_autoresume);
while ($ret = = Ftp_moredata) {
Other code can be inserted
echo ".";
Continue to transmit ...
$ret = ftp_nb_continue ($my _connection);
}
if ($ret! = ftp_finished) {
echo "Download error ...";
Exit (1);
}
?>
Reprint Please specify: www.111cn.cn/phper/php.html
http://www.bkjia.com/PHPjc/630483.html www.bkjia.com true http://www.bkjia.com/PHPjc/630483.html techarticle This tutorial is about a simple PHP ftp function to do file upload download function Oh, well, let's take a look at the simple example tutorial. This tutorial is about a simple PHP ftp function to do ...