Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Basic Question about FileShare Pod

Not applicable
Hello...again!



So, thanks to all of the great advice that I've received so
far. the AIR app I'm setting up is running like gangbusters and the
one pod that would really be ideal to get finalized is the
FileShare pod.



Right now...it works. I can select a file and it does
upload...someplace. When I go into the AFCS Dev Console I can see
the file once it's uploaded and I can download it from the console
- however I want to have this set to users can select the file and
download it.



would this be a setting in the Dev Console under "manage" and
"files"? I can see the pod there and the configure menu displays -
it's the settings that have me scratching my head on what needs to
be set so people can up and download files.



Thanks!
0 Replies
Hironmay
Level 10
Level 10
Hi,



If you are a participant of Host i.e role value of 50 or
above, you can upload. And any user can download and save the
updaloaded files by selecting the file and clicking the save
selected file button on the FIleShare pod.

Are you not able to download and save file ? Can you post a
small code that doesn't let you download files?





Thanks

Hironmay Basu
Not applicable
Here's the code I have in place:



<rtc:FileShare x="305" y="519" useSSL="true"
clearUponSessionEnd="false" width="522" height="269" />



which is pretty much right out of the box with no
modifications.



The AIR app I have created isn't set for anything beyond a
general user login.



So if you're not a Host (i.e. participant / viewer) then the
user will not be able to upload, just download?



Under "Change File Configuration" in the AFCS Dev Console I
have set:

Access Model: Owner

Publish Model: Publisher



and checked:

persistItems

sessionDependentItems

modifyAnyItem



Also, any of the testing was through the AIR application, not
the website room. As odd as it is, with the room up and running the
AIR apps all talk with each other just fine and the users show up
in the roster, however communication between the AIR app(s) and the
web room seems to drop off. And this is after I logged in a the
Host in the AIR app. Odd but I'm happy that the AIR apps are 95%
functional.



Thanks!
Hironmay
Level 10
Level 10
Hi,



The AccessModel should be set to Audience(role = 10) since
you want guests to download the file. The PublishModel is Publisher
being correct as you want hosts/participants (i.e. role value
>50) to upload files.

Try this and let me know if you FileShare Download works or
not.



Thanks

Hironmay Basu
Not applicable
Hello Hironmay -



I went into the AFCS Dev Console and tried to change the
AccessModel value to Viewer (10), however after selecting this and
clicking "OK" the permissions are still set to Owner. Or at least
revert back to it once I open it up again.



Are there any other settings that I would look at under the
"explore" tab?



Thanks!
Hironmay
Level 10
Level 10
Hi ,



What you are doing is exactly correct, unfortunately there
was a bug on our side in devconsole , which was preventing it from
updating the UI of NodeConfiguration dialog specially of Access and
Publish Model( all other parameters if you change you will see gets
updated fine) that too it was messed up for Owner and Audience ,
for publisher its fine i.e. if you change to Publisher(50) , you
will see the UI gets updated correctly.



But the good news is its only UI i.e. if you select any
folder in DevConsole's manage tab's file , and change the
configuration using the config dialog like you are doing, it
actually changes the configuration on the server , just that the UI
doesnt get updated when you open again.

So, if you change the configuration, after that you can
actually use the changed value in the code provided you have not
changed it again from dev console.

I have fixed the UI update part and it will be fixed in the
next drop of afcs. But for now, you can use the way it is to change
the access Model and publish Model.



Thanks again for reporting. It is such feedback that helps us
making the service better. Please let me know if you are having any
issues related to this.



Thanks

Hironmay Basu



Syferius
Level 2
Level 2
Hi.

Still having this problem. I'm changing models to VIEWER and
after some time, models changing back to OWNER. not just in UI, but
programmaticaly too
Hironmay
Level 10
Level 10
Hi,



Attach a small test of what you are doing where you can't
upload ? I will then try to run and debug or our side.



Thanks

Hironmay Basu