fput

From: Date: Tue, 22 May 2001 10:11:42 +0000
Subject: fput
Groups: php.general 
Request: Send a blank email to php-general+get-53840@lists.php.net to get a copy of this message
Hi there, I am trying to upload a picture via ftp_put, but I keep getting the error message: Warning: ftp_put: url/image.jpg: No such file or directory. in /web/www/www.domain.com/upload.php on line xxx Does that mean I can only use the php locally where the file is? The php file is on one server and I am trying to upload a local file to another server. The normal copy function caused problems since it saves the files as user=nobody and i had problems with the directory modes. I thought the ftp functions were a good alternative. Am I wrong? I am not sure as what exactly has to be inserted into "localfile" and "remotefile" in the ftp_put function either. Any suggestions are welcome!!! Thx, Nessi *confused*

« previous php.general (#53840) next »