Avatar

Level 2

Hi Hironmay

  Thanks for your quick replies.

  I set the 'publish model' for the FIle folder down to 10, but I am still seeing the same problem.

  I went deeper into the AFCS code (when clicking on the uploadbutton), and I get to the following function in CollectionNode.as

public function canUserPublish(p_userID:String, p_nodeName:String):Boolean
        {
            if (!isNodeDefined(p_nodeName)) {
                return (getUserRole(p_userID, p_nodeName)>=UserRoles.OWNER);
            }

p_nodeName is _FileShare_FileShare1

There is no node named '_FileShare_FileShare1' (however there is one named 'default_FileSharePod') , and the user is not an owner, so I get returned.

  I can successfully run your code, and can even use a FileShare pod as a guest when I wrap the FileShare pod in a ConnectSessionContainer, so this must have something to do with me using the connectSession attribute within the <rtc:FileShare tag.  (I have to do this, as I am creating the room dynamically from a template before logging on).

  I'll try to create some simpler code using ConnectSession property (rather than using ConnectSessionContainer) to try to recreate the problem.

thanks

Mark