I'm trying to make a button that will create folder protected/runtime on FTP server and set permissions for runtime folder to 0777. Here's what I got:
CreateFolder protected
CreateFolder protected/runtime
SetAttr "protected/runtime" CHMOD 0777
Unfortunately SetAttr "protected/runtime" CHMOD 0777 brings SetAttr GUI window instead of just setting attributes.
When there are no slashes in file name, eg. SetAttr protected CHMOD 0777, this command works great.
Any tips?
I'm trying to avoid using Go command to go inside protected directory as it might be much slower.