note 29928 rejected from function.ftp-put by betz

From: Date: Sat, 01 Mar 2003 10:24:47 +0000
Subject: note 29928 rejected from function.ftp-put by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-44689@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

« previous php.notes (#44689) next »