note 29928 added to function.ftp-put

From: Date: Sat, 01 Mar 2003 02:00:05 +0000
Subject: note 29928 added to function.ftp-put
Groups: php.notes 
Request: Send a blank email to php-notes+get-44682@lists.php.net to get a copy of this message
I have some problems with ftp_put on a Linux Webserver. My function works fine on my local windows webserver transfering to a linux webserver. But the linux -> linux connection refuses the upload. PHP Version on both machines are v4.3.0 I got the following error msg: Warning: ftp_put() [function.ftp-put]: 'STOR': command not understood. in ... on line ... it's only the ftp_put, I have successfully created some directories before. btw.. this is the function: ... if ($valid) { @ftp_pasv($this->_conn, $passive); if (ftp_put($this->_conn, $save_as, $filename, FTP_BINARY)) return true; } ... Is anyone familiar with this matter? Greets Heiko -- http://www.php.net/manual/en/function.ftp-put.php http://master.php.net/manage/user-notes.php?action=edit+29928 http://master.php.net/manage/user-notes.php?action=delete+29928 http://master.php.net/manage/user-notes.php?action=reject+29928

« previous php.notes (#44682) next »