Dummy rights problems with Plesk

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi guys, I've an hosting in media temple (appliance-server) with plesk
7.5.1. I'm trying to bring make a CMS I did in another server to work
there. The issues is related the file uploading, in fact a dummy script
like that:

copy($file, $uploaddir.$newname);

in media temple doesn't work, it seems it arrives no file from the
upload html page. Obviously this script works fine in the other server.
At the beginning they told me that was an issue related to the safe_mode
that was ON. So I turned it off and restarted the machine. From the
phpinfo it seems I did correct:


Their assistance, very weak, can't help me further... does anyway have
an idea on how to upload files in that bloody server?

Thanks a lot, chr

Re: Dummy rights problems with Plesk

The ftp functions seem to work fine. Since I never used them, does
anyone has some reccomandation on use them?

Thanks a lot, chr

file upload (was:Dummy rights problems with Plesk)

Quoted text here. Click to load it

also with the ftp the file upload doesn't work in my media temple hosting:

$remote_file = 'httpdocs/test_folder/ciro.jpg';

// set up basic connection
$conn_id = ftp_connect("ftp.mysite.com");

// login with username and password
$login_result = ftp_login($conn_id, "xxx", "xxx");

// upload a file
if (ftp_put($conn_id, $remote_file, $file, FTP_BINARY)) {
  echo "successfully uploaded $file\n";
} else {
  echo "There was a problem while uploading $file\n";

// close the connection

the file is empty, a kind of 0 bites file. There should be for sure some
restriction from media temple, but which ones???

thx, chr

Site Timeline