Give privileges to files

hi everyone, i need help to give all privileges administrator to a file.
i have a ftp session when i have to change privileges to 7777 but i couldnt access with any activities to that.