FTP Edit Folder Permissions
From UBot Studio
(Difference between revisions)
(Created page with "This command is an FTP command. The command allows you to change the permissions of a specified folder. Permissions are set using numbers. <pre> '''# Perm...") |
|||
(2 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
The command allows you to change the permissions of a specified folder. | 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. | Permissions are set using numbers. | ||
Line 22: | Line 24: | ||
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). | 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). | ||
− | [[File: | + | |
+ | <pre> | ||
+ | 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) | ||
+ | } | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | |||
+ | |||
+ | [[File:editfp.jpg]] | ||
+ | |||
+ | |||
+ | Once this command is run, the permissions of the specified folder will be changed. |
Latest revision as of 18:12, 26 September 2013
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) }
Once this command is run, the permissions of the specified folder will be changed.