FTP Edit Folder Permissions

From UBot Studio
Jump to: navigation, search

This command is an FTP command.

The command allows you to change the permissions of a specified folder.

It works within the Connect to FTP Server command.

Permissions are set using numbers.

'''#	Permisssion
7	full
6	read and write
5	read and execute
4	read only
3	write and execute
2	write only
1	execute only
0	none'''


So for example, 777 would mean that everyone has full permission to the folder.

755 would mean that the owner of the folder has full permissions for the folder, however everyone else has "read and execute" permissions (they cannot edit the folder, but they can read and execute it).


plugin command("FTPCommands.dll", "connect to ftp server", "FTP", "ftp.mysite.org", 21, "myusername", "password1234", "/var/www/mysite.com/public_html/") {
    plugin command("FTPCommands.dll", "ftp edit folder permissions", "MyFolder", 777)
}


Editfp.jpg


Once this command is run, the permissions of the specified folder will be changed.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox