script needs to check permissions.
io can only check permissions of the SITE command, which u can restrict (bad idea) in the [FTP_Command_Permissions].
Adding XXX in [FTP_SITE_Permissions] to restrict SITE XXX command works for the actual command, not Pre or Post events.
Note: Post events using SITE = ... are ok, since [FTP_SITE_Permissions] defines the permission for the actual command, and the Post event won't be called if the command didn't execute!
|