If it is Linux, you can consider setting a user without any permissions for the directory, and then change the ftp user to this user so that he can only operate this directory. . . . . . . But why do you need to grant execution permissions to the user? . Very dangerous and easy to cut. . .
If it is Linux, you can consider setting a user without any permissions for the directory, and then change the ftp user to this user so that he can only operate this directory. . . . . . . But why do you need to grant execution permissions to the user? . Very dangerous and easy to cut. . .