ftp_put cannot upload a file to a Red hat enterprise Linux ES release 4
| From: | Tina | Date: | Sat, 12 Apr 2008 18:03:02 +0000 |
| Subject: | ftp_put cannot upload a file to a Red hat enterprise Linux ES release 4 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-18809@lists.php.net to get a copy of this message | ||
Dear Sir/Madam
I have the following code section and it returns else statement. A Microsoft internet explorer
version 6.0.29 is used on a Red hat enterprise Linux ES release 4. php 4.4.7 and apache 1.3.37.
---------------------------------------------------
$uploadfile = ftp_put($ftpconnect, $destinationfile, $sourcefile, FTP_BINARY);
if ( $uploadfile ) {
echo "Uploaded file = $sourcefile to server name = $servername as file =
$destinationfile.";
} else {
echo "Upload is failed to upload file = $sourcefile to server name = $servername.";
}
---------------------------------------------------
Would you let me know what causes this problem?
Ms (Tina) Thieu Van Hung
---------------------------------
Yahoo! for Good helps you make a difference