FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: usafjerzy on July 16, 2006, 05:11:37 PM

Title: FTP Error
Post by: usafjerzy on July 16, 2006, 05:11:37 PM
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.
Title: Re: FTP Error
Post by: tangles on July 16, 2006, 08:59:00 PM
chmod is 777 not 0777 and you would be best to delete from your file manager in your frgs account tools
Title: Re: FTP Error
Post by: Evilsprouts on July 16, 2006, 09:07:38 PM
you use 0777 in scripts and stuff.
Title: Re: FTP Error
Post by: usafjerzy on July 17, 2006, 02:39:01 AM
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"
Title: Re: FTP Error
Post by: demol on July 27, 2006, 11:52:54 PM
Also had the smae problem and the helpdesk helped me out fine.
But whats the script you are talking about ? ???
Title: Re: FTP Error
Post by: Evilsprouts on July 28, 2006, 07:45:15 AM
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.