Re: FTP

From: Date: Thu, 31 Aug 2006 21:57:37 +0000
Subject: Re: FTP
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7187@lists.php.net to get a copy of this message
Your guess is as good as mine :) Fingers crossed. Oh, and please let the list know if it works or not! ----- Original Message ----- From: "Webmaster Phelios.org" <webmaster@phelios.org> To: "[PHP-GTK]" <php-gtk-general@lists.php.net> Sent: Thursday, August 31, 2006 11:38 PM Subject: [PHP-GTK] FTP
Hello Steph So basically |<?php | function watch_foo($fp, $condition) {
    echo ftell($fp);
//update progess bar } | $file = 'index.php'; $fp = fopen($file, 'r'); $conn_id = ftp_connect($ftp_server); $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); // Initate the upload $ret = ftp_put($conn_id, $file, $fp, FTP_BINARY); | gtk::io_add_watch($fp, Gtk::IO_IN | Gtk::IO_ERR, 'watch_foo'); | fclose($fp); ?> Right? I will try this later on :D Thank you Steph :D |


« previous php.gtk.general (#7187) next »