News:

Click here for Toll-Free Service for your business starting at $2.00 per month

Main Menu

FTP Error

Started by usafjerzy, July 16, 2006, 05:11:37 PM

Previous topic - Next topic

usafjerzy

I am trying to delete everything on my website, however a few files will not. I thought maybe the CHMOD was not set right but when I go to change it this is what i get.
QuoteUnable to execute site command chmod 0777 /administrator/components/com_hotproperty. Note that the CHMOD command is only available on Unix FTP servers, not on Windows FTP servers.

tangles

chmod is 777 not 0777 and you would be best to delete from your file manager in your frgs account tools

Evilsprouts

you use 0777 in scripts and stuff.

usafjerzy

#3
Hey thanks guys I got them to delete. I don't think it was anything I did it must have been with the server. I didn't do anything different and it worked. I guess i'll give praise to the server gods for this one.




--Update--
I guess I was praising the wrong gods. Thanks FreePgs Admin!
QuoteI have updated the ownership of your files.  You should be able to remove the files now.

Anytime a script creates files/folders, those files will not be owned by the same user you use to access the account (for security purposes).  You must also use a script to remove or chmod these files.

Thank you,
FreePgs.com "Admin"

demol

Also had the smae problem and the helpdesk helped me out fine.
But whats the script you are talking about ? ???

Evilsprouts

You can use php to CHMOD files and directories,

<?php chmod("FILE_NAME","0777"); ?>

Make sure you always add a 0 before the chmod number.