Guest can't load shared files...

... from a AIR HTML component in a AFCS connected AIR app.
Ok it's kind of weird, I'm not sure someone already try this
one :) , i explain :
We are working on a Air app whose allowing to share a "kind
of file"...
To show this kind of file in Air, you have to load it in a
HTML file, and show it in a HTML component ( Air framework HTML
component, and actually it's for display PDF file... ).
Someone sends a file, and other participants receive file's
url.
The file's url is build with : sharedFileDescriptor.url +
sharedFileDescriptor.name...
When i'm logged as owner, no problem, everything just work,
and my HTML component load the remote file (from the FileManager
folder on AFCS folder ) and show it correctly in the HTML component
( who use acrobat reader to display this "kind of file" :) ).
But there is the problem :
Only users logged as owners can load it correctly. When
guests are connected to the room and are trying to load the file,
even if the room.autoPromoteUsers is set to true, the HTML
component load the "Acrobat Connect HTML error page", whose
explains that the room is not active...
Any ideas ?

Hi ,
I got a chance to run the App Rick provided and go into the
depth of it.Here are my findings
a) The Problem is not dev console. When you change the
configuration of a file group using dev console it actually change
the configuration , its just that the UI is not updated which has
been already fixed and will be updated in next drop.
b) The reason Rick's example don't work is because of not
using the token value in navigateToUrl. If you look at the
FileSubscriber's download function it appends url+filename+token to
send the URLRequest. The way server verifies is if you are an Owner
, it will let you go through otherwise you need to have the token
with you(see in download function of FileSubsriber.as how we create
the token).
c) Even if you pass the complete url i.e. url+filename +token
, still navigateToUrl function has some issues for guests , we are
investigating that. However, you can get the downloaded file like
image(or any file uploaded) using any Image class or the loader
since you have the correct URL. I will copy the rick's updated
example with the changes you need to make which runs for the image
case.
For the next release which will be coming in some weeks, we
plan to give users a new parameter in FileDescriptor class that has
the entire Url , so that you don't have to do the concatenation
work urself. We will also try to get this navigateToUrl issue
resolved for guests.
Here are couple of things you can do now, if you are using
the FileSubscriber and FilePublisher instead of the FileShare Pod
itself, just call the fileSubscriber.download function. However, if
you are using FileShare as in rick's example, you will have to do
concatenation with token and use loader class(or image if its an
image) to get the file.
I am attaching the rick's code with this reply that will make
things more clear. One more info, if you are creating FileShare pod
in code, the node that gets created is default_FileSharePod which
is the default sharedID of FileShare. So, its best always to have
fileShare a sharedID when you create it ( as in my attached code)
and call subscribe on it as a best practice.
Please let me know if there are issues.
Thanks
Regards
Hironmay Basu
Attached is the rick's code for guest with my changes

Similar Messages

  • Can I load xml file from SWC without using @embed

    I'm developing a mobile application in which I need to load xml files from File.applicationDirectory. This works great if the xml files are part of the main application swf. But I would like to move these xml files into a SWC so they could be shared across multiple applications.
    Using FlashBuilder 4.5, when a SWC is built, I can specify files to embed in the library that are not assets (Assets Tab of Flex Library Build Path). For various design reasons, I do NOT want to embed the xml files via @embed.
    When the swc is built and I open it up using a zip utility, I see the xml files in there just fine. So they are being bundled with the SWC. But how can I load these files in my main application that does not involve using @embed? When the main application is built, the swc setting for link type is "merged into code".
    I wouldn't expect the application to automatically pull out the xml files from the swc and place them in the File.applicationDirectory on the mobile device. I've tried loading from there just in case but file.exists is false (as expected).
    I've searched the web (and continue to do so) and all the answers seem to be to use @embed. Is there another way?
    Randy

    It's actually a lot easier than you think.
    Just reference the file like any'ol URL using a path relative to the SWC's src directory.
    So if you include the file "assets/xml/some.xml", just use that same string like you would any remote resource.
    For example:
    var loader:URLLoader = new URLLoader( new URLRequest("assets/xml/some.xml"));
    I believe it would also work like this "/assets/xml/some.xml", but I prefer relative paths so the link doesnt break if moved out of the SWC...

  • Firefox cannot be closed; the following message appears: "Can't load resource file, can not run". How to solve this problem; I am using Windows XP SP3

    Whwn I want to close Firefox 9.x , a pop-up appears with the message: "Can't load resource file ......" . First I have to close this pop-up, then Firefox is closed. Also with other versions of Firefox I had this problem.

    i deleted the rdf and now the first window only (and any tabs in it) are maximised. i found this in the rdf
    <RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window"
    screenX="4"
    screenY="4"
    width="1008"
    height="461"
    sizemode="Normal" />
    i tried changing normal to maximised; no effect. either i need also to change the numbers (to match a maximised window) or ff ignores this. i want to be able to open different sites in different windows, and not have to maximise them manually. ff never used to be broken, why break this? what possible security flaw was fixed by screwing up ff to never open maximised unless u hack it or delete certain config files?

  • Can I load several files in parallel through one file infopackage?

    Can I load several files in parallel through file datasource?

    Hi Alex
    I am sorry but am not able to understand your requirements completely.
    If you are using BSP then how come infopackage comes in picture?
    As through a BSP application you can load the data with the help of fundtion modules. In your case first load the data from file to internal table through function GUI_UPLOAD and then from internal table to ODS through function module RSDRI_ODSO_MODIFY.
    Do not forget to assign points if this helps
    Regards,
    Monika Birdi

  • I can not load RAW files from my nikon d810

    I Have a problem Reading RAW files from my nikon d810

    Thanks,
    Joop
    Op 26 jul. 2014 om 17:40 heeft Rikk Flohr <[email protected]> het volgende geschreven:
    I can not load RAW files from my nikon d810
    created by Rikk Flohr in Photoshop Lightroom - View the full discussion
    https://forums.adobe.com/search.jspa?q=D810
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6585986#6585986
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Lightroom by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Can't load Raw files into Lightroom 3 form my Nikon D7100

    Can't load Raw files into Lightroom 3 form my Nikon D7100... Why?

    TGTruman wrote:
    How do I convert the Nef to DNG files...
    Download the Adobe DNG Converter (and install it, and run it...).
    Note: an internet search will reveal a link in short order.
    TGTruman wrote:
    I don't mind going to LR5, just don't want to spend the money and then not have it work...
    So use the trial first. No?
    R

  • Can I load gMax files using Java3D?

    Can I load gMax files using Java3D?
    I need to know this if I am going to use Java for my project.

    What format are the files in? Can you export as .3ds? If you can, there are loaders for these files.
    There are also loaders available for VRML, Obj, etc - see what you can export the file as.

  • Can't load m4v files into Photoshop

    I created a H264 Blu-ray (m4v) using Adobe Premiere Pro CS4. It was a exported as 1080i file. I tried to load this file into Photoshop CS4 extended. Photoshop says that it "could not complete your request because the movie file could not be opened". Can anyone help as it is important to me to apply some Photoshop to fix overexposure which it does superbly to a Quick Time (720*480) file. I want to do the same for 1080i file.
    Thx
    Sundar

    I initially captured the clip as .MTS in 1080. Using premiere CS4, I exported part of the clip as H264 Blu-Ray (m4v). If I try QT as output format, it is of lower resolution. You are right that Photoshop does not have problem in pulling in QT clips.
    You answered your own question. H.264 BluRay is a multiplexed sub-format of H.264 which is not compatible with QT's implementation of H.264. If you want to use H.264, you must export normal H.264 and the profile level must be set to 3.1, basic in the exporter. Then, after export, you simply rename the file to *.mov. That aside, you can always use alternate Quicktime CoDecs like PNG or PhotoJPEG and directly export to a MOV. Your loss in quality is due to incorrect field settings, so that needs to be set properly. It merely doesn't affect your H.264 output, because there everything is set correctly already in the presets.
    Mylenium

  • Windows XP PC can't see shared files on Mac

    Our Mac Pro running OS X 10.5.8 can access all the shared folders on our Windows XP PC. In addition, all our other Macs can access the shared folders on our Mac Pro.
    However - the XP PC cannot access any shared folders on the Mac Pro!
    Any ideas how to fix this situation, and allow the XP PC to access our Mac Pro's shared folders?

    If your Mac Pro has FileVault on, your Windows XP machine will not be able to access the files, as FileVault disables SMB and printer sharing for Windows XP clients.
    In case FileVault is not on, you could try temporarily disabling the Windows firewall and the anivirus and/or internet security suite on the WinPC, and see whether it can access the files on your Mac Pro.
    Good Luck.

  • Have upgraded to monthly subscription, but can't load Muse files to my own domain

    When I tried to load the Muse files for my website, developed during the trial period, to my own domain, I discovered that wasn't an option.
    I have upgraded from trial sub to month-to-month sub.  The "Trial period ends in (x) days" no longer appears at Muse start.  But when I try to publish, I'm still limited to .businesscatalyst.com
    I haven't found an option yet to publish to a regular, non-"businesscatalyst.com" domain.
    Do I need to uninstall my Muse software and re-download it?  Do my existing .muse files remain intact?
    thanks....

    Hello,
    Using File>Publish option it only allow you to publish the website on Business Catalyst.
    If you are looking to publish/upload your website on a non-Business Catalyst host the you have two options :
    Either use File>Upload to FTP host option and use the FTP credentials for your host and then click on OK to upload it to your host server.
    Or you can use File>Export to HTML option where you can save the output files on your desktop in a folder and then upload them using some third party FTP client like Filezilla etc.
    Hope this helps.
    Regards,
    Sachin

  • Can't load shared library, libgpg-error missing?

    Right, so this morning I decided to try out Cinnamon. I booted into Arch, logged into GNOME, installed cinnamon from the repositories, and did a system upgrade. I then rebooted. I select Arch Linux from GRUB, everything is working fine, but GDM won't load. And there are some strange error messages I've never seen before on the screen. Hmm. So, apparently, the journal service failed to start:
    /dev/sda1: recovering journal
    /dev/sda1: clean, 260391/7782400 files, 2855892/31099729 blocks
    [ 2.896956] systemd[1]: Failed to start Trigger Flushing of Journal to Persistent Storage.
    [ 2.902798] systemd[1]: Failed to start Trigger Flushing of Journal to Persistent Storage.
    [ 2.903928] systemd[1]: Failed to start Journal Service.
    [ 2.904007] systemd[1]: Dependency failed for Trigger Flushing of Journal to Persistent Storage.
    [ 2.904798] systemd[1]: Failed to start Journal Service.
    [ 3.092906] microcode: failed to load file amd-ucode/microcode_amd_fam15h.bin
    So, I figure I need to do a bit of troubleshooting, and I need to disable GDM, since it doesn't want to start. So I boot into my installation media, arch-chroot into my newly mounted partition, and try to disable GDM with systemctl disable gdm.service. Well, apparently, systemctl is having trouble loading a shared library, because it then spits out this error message:
    systemctl: error while loading shared libraries: /usr/lib/libgpg-error.so.0: file too short
    So, I think perhaps that a library has magically gone missing and I try to reinstall it, but to no avail:
    pacman -Sv libgpg
    pacman: error while loading shared libraries: /usr/lib/libgpg-error.so.0: file too short
    I'm very confused at this point, I haven't the slightest idea what I did. Sorry about the lack of logs, I haven't found anything about this from Google or these forums. I have no idea what logs would be relevant here, as I have no idea what's going on. Any help, or suggestions on which logs may be relevant, would be highly appreciated. Thanks!

    oops.  Two follow ups, first it seems you got that before my edit to at the -l flag to the second ls, I was curious if you still had the package in your cache, whether it was the right version, and whether it was the right size (poor man's checksum (1)).  It's there, and it's the right version, but I'm curious on the size too.
    The second follow up was that I hadn't accounted for the symlink, so the second command should really be as follows
    ls -l /usr/lib/libpgp-error.so.0.10.0
    as pacman says it's too short, I'm curious *how* short.  Is it an empty file, or does it look like the right size which would indicate other corruption, or is it just short.
    EDIT (1):  I suppose while were at it we may as well get a real checksum.  Here's mine on the package cache file, yours *should* match
    $ md5sum /var/cache/pacman/pkg/libgpg-error-1.12-1-x86_64.pkg.tar.xz
    602a18784e9916e1a4d13b10de6074aa /var/cache/pacman/pkg/libgpg-error-1.12-1-x86_64.pkg.tar.xz
    If yours matches that, the cause of this problem may remain a mystery, but the solution could be to reinstall that package.  I suspect this will be the solution regardless though.  And if you have a live media it might be easiest to just use pacman from the live system with your system as a target, and reinstall libgpg-error.  If you don't have a live media, then you *might* have to uncompress the package manually.
    Last edited by Trilby (2013-07-08 19:19:52)

  • I can't load raw files from a Leica d-lux 6. Says it's an unsupported file. Help please!

    I cannot load raw files from a Leica d-lux 6.  Aperture says it's an unsupported file.  How do I get it to be a supported file?  Help, please!

    What is your Aperture version? Here is the list of supported raw formats for Aperture 3, see: Apple - Aperture - Technical Specifications - RAW Support
    Your camera is not on the list. Use the software that came with your camera to convert your raw files to dng or tiff images; then you can import the images into Aperture and work with them, while waiting for Apple to release raw support for your camera. Or shoot raw+jpeg pairs and use the jpeg while you are waiting.
    Is Mac OS X (10.5.1) really your current operating system? Then you may need to upgrade, when Apple finally releases raw support for your camera. The newest raw support required Aperture 3.4. to be installed.
    Regards
    Léonie

  • Can't load any files

    Hi there,
    I just got Logic and Mainstage and installed them on my MacBook. Loading up Logic works fine but when Mainstage loaded it picked up the Halion Orchestral plugin (Cubase 5 is also installed on the MacBook) and as I didn't have the copy protection dongle in at the time it came up with an error message. I cancelled the dongle error and Mainstage loaded up regardless - but I can't do anything. If I go to File > New, absolutely nothing happens and I don't have any files to load up.
    Does anyone have any idea why it would do it and what to do to sort it out? Is a reinstall necessary?
    Thanks very much,
    Rich

    Yes, you should get a window offering a choice of templates to load.
    From what you say, you can't load a template from the menu bar either. I take it that you have tried plugging in the dongle & restarting MainStage.
    If that is the case, it sounds as though a re-install is called for.
    Before doing that, you could try repairing permissions; that often cures irritating problems like this.
    The other thing you could try is to remove the MainStage plist & try running MainStage again. If neither of these options work, then re-install.
    Good luck.

  • Can not see shared files

    Windows Xp sp3, wrt54g2, Kodak wireless picture frame
    Picture frame can see router (wirelessly), computer can see router (by wire), Have Media player 11 which sees the picture frame.  Picture frame does not see the computer nor  shared files.  Picture frame knows the SSID and password.  Network Magic says there are no shared files.  I have right clicked on My Pictures folder  and have shared it (and others as a trial).  Network magic draws a path.  Have turned off  firewall and antivirus.  Can ping everything ok.   What do I do next to share files on the network?  Specifically pictures.

    Read this and try to share the picture between wireless frame and comuter.

  • Can't access shared files

    I have set up a shared folder in OS X 10.6 server for my workgroup. This folder is on the second hard drive (non-boot) of a two-drive Mac Mini server. When I log in I can see all the files, but whenever anyone else in the group logs in, they do not have permission. I setup permission for this shared point in server admin so that all members of the group have read and write permission. I verified this for each member using the Effective Permissions Inspector.
    Suggestions for how to gain access to the shared folder?

    I think you have your use of "dweeb" reversed. A dweeb knows what a SACL is. Or did I mix up dweeb and nerd again?
    File Services Access Control
    Server Admin in Mac OS X Server enables you to configure service access control lists (SACLs), which enable you to specify which users and groups have access to AFP, FTP, and SMB file services.
    Using SACLs enables you to add another layer of access control on top of standard POSIX and ACL permissions. Only users and groups listed in a SACL have access to its corresponding service. For example, if you want to prevent users from accessing a server’s AFP share points, including home folders, remove the users from the AFP service’s SACL.
    For information about restricting access to file services using SACLs, see “Setting SACL Permissions” on page 62.
    This text extracted from the Mac OS X Server File Services manual.

Maybe you are looking for

  • Can EFI update be rolled back?

    I installed the EFI update and now my e-sata drive I use for Time Machine won't mount. Worked perfectly before the update. Is there any way to roll it back to the previous version? Cliff

  • IDoc Error

    Hi there I am getting the below error at the time of generating an IDoc No account for cash management payment advice; FI payment advice: 1000 D 0000100023 06007576 I thought this must be due to the ''Open item management' being supressed on the GL M

  • Account determination with valuation grouping code

    We currently have 25 plants (valuation areas) setup using one chart of accounts and a common valuation grouping code for account determination. We now have a need to change one of the plants to use different accounts than the other 24 for the GBB tra

  • SOAP envelope missing some info

    Hello I have been struggling with a web service request for some time and i need some assistance. I have to insert subscriber info into someone elses db.They created a web service for me. My code looks like this: <cfinvoke  webservice="http://41.208.

  • Upgraded to Mountain Lion, lost my Calendars

    I've just upgraded to Mountain Lion from Lion, and had several Calendars set up on my system, as well as some that are attached to Google Calendars. They also all synced to my iPhone 3G perfectly, so there was no issues if I ever added entries to one