FTP
| From: | Webmaster Phelios.org | Date: | Thu, 31 Aug 2006 21:13:18 +0000 |
| Subject: | FTP | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-7183@lists.php.net to get a copy of this message | ||
Hi Scott
Taking a script from the php manual:
$ret = ftp_nb_fput($conn_id, $file, $fp, FTP_BINARY);
while ($ret == FTP_MOREDATA) {
// Do whatever you want
echo ftell($fp) . "\n";
// Continue upload...
$ret = ftp_nb_continue($conn_id);
}
I can do this and php outputs the offsets correctly to the console.
PHP-GTK does not have a mechanism for ProcessMessages like windows apps?
Thank you
Pedro