ITunes Extras file locked on External iTunes Server  - Help Appreciated

Hi all,
Here's the set up.
I've just put our entire iTunes library (it's all housed within one iTunes account) on a new LaCie Wireless Space NAS unit. So basically everyone in the household (me, wife and two kids) can access the same music library etc.
I've pointed everyones ITunes preferences to the external library on the NAS and they can all individually access and play tracks OK.
The problem seems to arise when, for example my son fires up iTunes on his MAC starts to play some tracks, but then my daughter wants to do the same, she cant get on to the music library on the NAS as we get an error message that says- "The iTunes Extras is locked, on a locked disk, or you do not have write permission for this file"
I've tried trashing various .plist files, checking access privileges, but cannot seem to solve the issue.
She can access the library OK when it seems no one else is doing the same, it seems to be an issue when multiple users try to access the same iTunes library on the NAS.
Any help, suggestions or work-arounds would be greatly appreciated.
Cheers

Is iTunes running on MB A when you open iTunes on MB B? If so, that is probably the reason iTunes is saying the file is locked. Only one iTunes can read/write to the DB files at a time.

Similar Messages

  • My MacBook Pro won't go beyond a white screen, after I pushed the restart button. How can I get it to a login? I have routinely backed it up, but don't know how to bring that up, nor if I have a boot file on that external disk. Help!

    My MacBook Pro won't go beyond a white screen, after I pushed the restart button. How can I get it to a login? I have routinely backed it up, but don't know how to bring that up, nor if I have a boot file on that external disk. Help!

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    To restart an unresponsive computer, press and hold the power button for a few seconds until the power shuts off, then release, wait a few more seconds, and press it again briefly.
    Step 1
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a startup failure can be resolved by resetting the NVRAM.
    Step 4
    If a desktop Mac hangs at a plain gray screen with a movable cursor, the keyboard may not be recognized. Press and hold the button on the side of an Apple wireless keyboard to make it discoverable. If need be, replace or recharge the batteries. If you're using a USB keyboard connected to a hub, connect it to a built-in port.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to start up, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can start up now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've started from an external storage device, make sure that the internal startup volume is selected in the Startup Disk pane of System Preferences.
    Start up in safe mode. Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to start and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know the login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you start up in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, the startup volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 11. If you ever have another problem with the drive, replace it immediately.
    If you can start and log in in safe mode, empty the Trash, and then open the Finder Info window on the startup volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then restart as usual (i.e., not in safe mode.)
    If the startup process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select the startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then restart as usual.
    Step 9
    If the startup device is an aftermarket SSD, it may need a firmware update and/or a forced "garbage collection." Instructions for doing this with a Crucial-branded SSD were posted here. Some of those instructions may apply to other brands of SSD, but you should check with the vendor's tech support.  
    Step 10
    Reinstall the OS. If the Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 11
    Do as in Step 9, but this time erase the startup volume in Disk Utility before installing. The system should automatically restart into the Setup Assistant. Follow the prompts to transfer the data from a Time Machine or other backup.
    Step 12
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a startup failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 13
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

  • Updated to Mavericks OS X but can't use my external drive by WD My Passport. The Mac reads it but I can't add/remove files to the external drive. Help?!

    Updated to Mavericks OS X but can't use my external drive by WD My Passport. The Mac reads it but I can't add/remove files to the external drive. Help?!
    The WD My Passport, I purchased back in early December 2013 & I just used it the other day after I updated my Macbook... & of course it says in the online manual it works for Mac Lion, Mountain Lion, Snow Leopard but not this new Maverick update. Is there anything I can do?

    I like the free demo of SuperDuper to make clones. It's free, Tiger and Leopard ready and is easy to use. If you buy the full version you can do incremental backups.
    You should use Disk Utility to do a Disk Repair, as shown in this link, booted up on your install disk, before you make a clone of it.
    I then partition my external disk, in Disk Utility, with a partition that is the same size , actually a tad bigger, as my system disk. I then use SuperDuper to clone my system disk over to that partition.
    With a clone on an external FireWire drive (USB drives are not bootable on some Macs) you can bootup on it to do your repairs or just run your Mac anytime you have trouble with your main drive. Be careful, there are a few external FireWire drives out there that are not bootable on Macs. Check the drive's manual to be sure.
     DALE

  • I am running windows 7 64bit, have a brother printer MFC-J4510W with the latest driver update, have Adobe reader 11.0.10.32 and as of today I cannot print any pdf files that before I could, all help appreciated

    I am running windows 7 64bit, have a brother printer MFC-J4510W with the latest driver update, have Adobe reader 11.0.10.32 and as of today I cannot print any pdf files that before I could, all help appreciated
    I followed the FAQ troubleshooting and that didn't help

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

  • Transfer file to an external FTP SERVER

    HI Gentelemen!!,
    I'm trying to open an external FTP connection, sending a file from the  MiniSAP.
    Which is the appropiate RFC connection that I have to use??
    Anybody know how to set RFC connection to access an external FTP server.
    This are the MF that I use:
    CALL FUNCTION 'SCRAMBLE_STRING'
    To encrypt password
    CALL FUNCTION 'FTP_CONNECT'
    here i have an import value for RFC DESTINATION
    return handle - I use it to close the connection
    CALL FUNCTION 'FTP_COPY'
    CALL FUNCTION 'FTP_DISCONNECT'
    Use HANDLE numbre to close the connection
    Thanks for your help.
    POLAK.-

    I am not sure minisap has sapftp and sapftpa executable.
    Anyway the two RFC destination used to do FTP are SAPFTPA and SAPFTP. This are 2 TCP/IP RFC destination (Type T) that launch either the program sapftp or sapftpa on the application server.
    If these rfc destination are not setup in transaction SM59 you can try to define them but it might not work on minisap.
    Regards

  • Moving iTunes Problem(help appreciated)

    Ok. My computer's disk space was almost full, so I bought an external hard drive and simply cut and pasted the iTunes folder on my computer. I then simply added all the files(from the external hard drive) into iTunes. The problem is that it's registering this library as a new one and I have to erase and sync. Is there anyway to undo what I've done? Help is much appreciated !!
    [email protected](contact me)

    Hi,
    Press the Windows Button + R.
    Once Run Pops Up,
    Type: dxdiag
    and hit ok.
    link this:
    Then DirectX Diagnostic Tool Should appear.
    Select "Save All information..."
    Then save it onto your Desktop.
    Open the DxDiag.txt (The information you saved onto the desktop)
    Then copy all and paste it here as a reply.
    Thanks,
    Blueloony

  • Error -14002 -- connecting to external LDAP server -- HELP!

    Hi all,
    I did a clean install over an exisiting 10.4 Server that was connected via LDAP to our eDirectory. I exported and imported our custom mappings into /System/Library/DirectoryServices/Templates/LDAPv3 . (Which we can do on any of our 10.4 servers and its fine).
    However it appears that the 10.5 server can't properly see the eDirectory server. We've tried all combinations of SSL on/off, port 636 or 389, using authentication or not. Whatever we do, Workgroup manager gives the following when trying to browse and will lock up if run from a client system. WGM will not lock up on the server but will still give the attached error.
    "Error of type eDSOpenNodeFailed (-14002) on line 3873 of /SourceCache/WorkgroupManager/WorkgroupManager-319/PMMUGMainView.mm"
    Interestingly, using an LDAP-browsing application like LDapper from the server is completely successful in browsing eDirectory.
    Any takers??

    Assuming you meant /etc/openldap/ldap.conf I changed mine, which now reads
    something similar to the following (there doesn't seem to be any way to
    get the forum to not apply some sort of wiki-style markup)
    arbela:~ nw$ cat /etc/openldap/ldap.conf
    # LDAP Defaults
    # See ldap.conf(5) for details
    # This file should be world readable but not world writable.
    #BASE dc=example, dc=com
    #URI ldap://ldap.example.com ldap://ldap-master.example.com:666
    #SIZELIMIT 12
    #TIMELIMIT 15
    #DEREF never
    TLS_REQCERT never
    arbela:~ nw$
    But I still get the same error.

  • After installing Mavericks I can't copy music files to an external music server, worked fine before mavericks

    After installing Mavericks, I can't copy or move files to a music server running Vortexbox(Fedora Linux based). I get a cannot perform operation, you do not have permissions for some items. The permission arrow in get info shows I have both read and write permission. I am connecting to the server fine, just can't copy files.

    Hey tamckellar,
    It sounds like you want to move your iTunes Media folder. The following article outlines how to do so:
    iTunes for Mac: Moving your iTunes Media folder
    http://support.apple.com/kb/HT1449
    If your hard drive is nearly full after loading all your music and other media into iTunes, or if you just want to move all those music and media files to another hard drive on your system, here's a way to make the move while retaining all your playlists, ratings, and play history.
    Thanks,
    Matt M.

  • Setting Up Mac Mini / iTunes Server Help

    I have a new MacMini that I wanted to just leave on and use it as my iTunes media server for my various iDevices and ATV's.  I have an external Thunderbolt G-Drive attached to the MacMini with my movies, music, home videos and photos on it.  The MacMini will only be used for the purpose of streaming my media and nothing else.  The MacMini drive has nothing on it but whatever it came with the initial OS.  If anybody could provide me with any tips to keep this running as smooth and as fast as possible I would appreciate it.
    This is what I have done so far.
    I have a Cyberpower Smart App Sinewave UPS system connected to the MacMini.  This allowed me to set up in preferences an automatic smooth shut down of the MacMini in case of a power failure.  My router is also connected to the UPS system as well as the external drive.  I do have a small monitor attached to the MacMini that I can turn on to the proper HDMI input to work on the MacMini, so it is not set up as a headless system.
    Tha MacMini is dircectly conected to my router via ethernet so the WiFi portion of the mini is not being used.
    Do I need to turn of the wifi via preferences manually or does the ethernet hook up take care of that an I don't need to do that?
    Is there a way to get iTunes to automatically launch after the MacMini reboots?
    How can I handle updates automatically to keep the MacMini up to date with minimum if any interference from me?
    I know I can also schedule an automatic reboot at certan intervals but not sure where to set this up nor if its needed?
    Should I set up the MacMini to Never Sleep Mode or let it put the hard drive to sleep?
    I know some people have had issues with the hard drive not waking from sleep mode hence iTunes will not work properly.  This has been via firewire hook ups and I am not sure if that would happen via thunderbolt or not.  If there is anything else I can do via hardware or software that I am missing let me know. 
    Thanks

    glass99 wrote:
    The MacBook Pro is sometimes at work, or otherwise "off" in the house. I don't like having to go and turn it on, just to access my itunes library.
    That's one downside of AppleTV2 - cheap, small and low power usage but lack of onboard storage means you need a computer on for streaming, which is less than ideal when you have a laptop.
    So I've been thinking... maybe a mac mini is the solution? I could set it up near the TV, leave it idle and access media when I need it.
    That would certainly work. I have both the current Mac Mini with HDMI and an AppleTV hooked up to the TV - I either use wireless keyboard/mouse or AirMouse on my iPad to control the Mini. You don't necessarily need the Mini connected to the TV but I do in order to do things AppleTV can't.
    Right now all of my itunes is on my MacBook Pro. If I wanted to copy over the library is this possible?
    Several ways to do it.
    I don't want to do a complete restore on my mac mini of the macbook pro from time machine, since there is a lot of stuff that just isn't necessary to transfer.
    Not advisable to restore a MacBook Pro to a Mini in any case. You should stick to the same hardware for restoring.
    So is there someway to either sync the libraries, or copy things? Basically, I want to keep both libraries up to date, likely I'd download things on the MBP, but would then want to access this media on the mac mini... what can I do about this?
    Easiest thing is to use Home Sharing - sign in to Home Sharing in itunes on both computers - this will allow you to copy material from one library to another, you can even configurre it to do so automatically if you want to. (Depending on your home network speeds this may be initially slower than say simply copying all the iTunes media to an external drive and then copying this into the Mini library, but once most stuff is copied, additional transfers will be incremental and relatively quicker.)
    AC

  • ITunes Server help

    I'm wondering if anyone can help me with configuring iTunes alongside an online server to store my music to. Because the word "server" can be interpreted in many ways, I'm looking for a way to configure iTunes with a cloud server. Also, to dispel any comments on anything that isn't something I can't use for free, MobileMe is not what I intend to use, since I so I'll state the limitations I have, & the outcome I'm looking for:
    Limits
    1.) I don't have or own a network drive.
    2.) If needed, I don't want to have to download anything that's not either open source or free, preferably in that order, since open source software doesn't usually have ads.
    Outcome
    I want to be able to just point iTunes to the server, like point it to "My Network Locations".
    Thanks for anyone who can possibly help me.

    glass99 wrote:
    The MacBook Pro is sometimes at work, or otherwise "off" in the house. I don't like having to go and turn it on, just to access my itunes library.
    That's one downside of AppleTV2 - cheap, small and low power usage but lack of onboard storage means you need a computer on for streaming, which is less than ideal when you have a laptop.
    So I've been thinking... maybe a mac mini is the solution? I could set it up near the TV, leave it idle and access media when I need it.
    That would certainly work. I have both the current Mac Mini with HDMI and an AppleTV hooked up to the TV - I either use wireless keyboard/mouse or AirMouse on my iPad to control the Mini. You don't necessarily need the Mini connected to the TV but I do in order to do things AppleTV can't.
    Right now all of my itunes is on my MacBook Pro. If I wanted to copy over the library is this possible?
    Several ways to do it.
    I don't want to do a complete restore on my mac mini of the macbook pro from time machine, since there is a lot of stuff that just isn't necessary to transfer.
    Not advisable to restore a MacBook Pro to a Mini in any case. You should stick to the same hardware for restoring.
    So is there someway to either sync the libraries, or copy things? Basically, I want to keep both libraries up to date, likely I'd download things on the MBP, but would then want to access this media on the mac mini... what can I do about this?
    Easiest thing is to use Home Sharing - sign in to Home Sharing in itunes on both computers - this will allow you to copy material from one library to another, you can even configurre it to do so automatically if you want to. (Depending on your home network speeds this may be initially slower than say simply copying all the iTunes media to an external drive and then copying this into the Mini library, but once most stuff is copied, additional transfers will be incremental and relatively quicker.)
    AC

  • File lock in MAC mini server

    Normally when users opening a CAD file from MAC mini server, when other user open the same CAD file it will show “read only” and can’t be save. But one of the computer did not show read only messing when someone using the same CAD file. This computer able to open  & save file, however the saved files may be missing in the server. Is there any wrong in the mac mini server ?

    Well, I don't know the answer really, if you don't get some good help here, it might pay to repost in the Server area...
    https://discussions.apple.com/community/servers_enterprise_software/os_x_server
    Or I can ask this one be moved if you like.

  • Time Machine has locked my external drive. HELP

    Time Machine hosed me again. After several unsuccessful attempts to backup on my PowerMac G5 dual 2.33 Ghz, I was able to complete my first full backup to an external 2 gig DROBO (USB 2.0 interface). It took 20 hours to do 180 gigs.
    Now I have just discovered that Time Machine has made that external drive READ-ONLY! I cannot write to the drive and neither can Time Machine.
    Does anybody know what is up and how to fix this short of using root UNIX shell which terrifies me. I just want to take it off and cut my losses, but the drive also has a ton of music on it that iTunes uses.

    Okay Jeffery, I think I've found the solution, especially if you are seeing the "Unknown" user in your Get Info window's Sharing & Permissions setting for your drobo.
    I had written earlier about my work-around for getting my drobo to work right after getting the "read-only" error from Time Machine. But unfortunately it was a temporary and temperamental fix. There were times then I had to eject the disk and launch Disk Utility to run a repair on the disk which would take more than half an hour on my drobo. But all the while my permissions had this "Unknown" user. Well I decided to "Go UNIX" and see if I could fix this problem once and for all.
    I opened up Terminal and typed "*ls -la /Volumes*". This gives me a directory listing of my mounted drive volumes. I noticed that all of my drives, internal, external, USB and FireWire, all had "root" as the user and "admin" as the group, _EXCEPT for my drobo!_ So I forced it to conform by changing it manually by typing "*sudo chown root:admin /Volumes/Drobo\ Backup\ HD/*".
    sudo = temporarily enables root mode by asking for your password before executing.
    chown = changes ownership to...
    root:admin = "root" is the user and "admin" is the group.
    */Volumes/Drobo\ Backup\ HD/* = My drobo drive is named "*Drobo Backup HD*", but UNIX sees spaces as command separators, so you have to use the "\ " to signify spaces within a name.
    After doing this over a week ago, _I have not had any other problems_ with using my drobo as a backup drive. It has never come up with the "read-only" error in Time Machine, the Sharing & Permissions setting do not have any "Unknown" users or groups, I don't even need to wait for my drobo before logging in like I did in the past. I just boot my Mac and everything with my drobo and Time Machine just works... No problems!
    It seems to be permanently fixed for me, so if you are willing to try this solution, I'm sure it would work for you. If UNIX terrifies you too much, and you do not trust yourself editing the commands above, let me know the name of your drobo drive on your desktop and I will post a message with the EXACT UNIX commands customized for just for you, so all you have to do is copy and paste them into your Terminal window to do it. But like I said, I've done this over a week ago and I not had one single problem.

  • Can't copy files to an external hard-drive - help??

    Hi all,
    My problem originally stems from the never-ending issue of using external hard-drives with a Mac (this is a huge downside to owning a Mac by the way, so if TPTB are reading this they need to fix it!).  My Toshiba hard-drive was being used as my Time Machine, until a few months ago when it stopped being recognised by my Mac.  Because it doesn't show up in Finder or Disc Utility when I plug it in (even though the lights are on and I can hear the power running in it), I haven't been able to re-format it to make it useable again (assuming that would work).  So I basically have a £80+ tea cup holder.....
    Because of this, I decided this week to use my WD hard-drive to manually back up some files on my computer, since Time Machine hasn't been able to run since March.  However, when I copy the files I want to move over, "Paste" is not showing up as an option on my WD drive (it's greyed out).  I can't drag and drop the files as I get the circle with a line through it when I try, and I don't want to anyway as I don't want the files removed from my computer.
    Can someone advise me on what to do?  The WD drive is showing up, and it has space to accept these files, so if I can get the paste option to work we'd be ready to rock and roll!  One of the folders I want to copy is my Music folder, and given it's size I know this will take hours to do, but it should be showing the paste option, shouldn't it?  I'm running a Macbook Pro that's less than a year old, and all the software bits are up to date.
    (Of course, if Apple would fix the stupid hard-drive issue then I wouldn't be having any of the problems..... GRRRRRR!)
    Thanks in advance,
    Millie

    Click on it, choose Get Info from the File menu, and check the format.
    If it's formatted as NTFS, reformat it as MS-DOS, exFAT, or Mac OS Extended (Journaled) as desired, or install software such as Paragon NTFS on the computer.
    If it's formatted as FAT32 or exFAT, use the Disk Utility's Repair Disk command on it; this may also happen for a flash drive which is about to fail.
    If it's formatted as Mac OS Extended, click Authenticate and provide your administrator password, or change the permissions on that specific folder in its Get Info window.
    (109318)

  • Viewing a file which is in Application Server [al11]

    Hi All
    I have a file which is residing in Application Server [al11 tcode], how i can display the file using LinkToURL UI Element,
    what is the path which i need give in the REFERENCE parameter of the UI Element.
    Thanks in Advance
    Regards
    Chaitanya.A

    Just becuase the file is in the filesystem of the application server, doesn't necessarily mean that it is exposed to the network at all. This really depends upon your OS and if you have a file share or external web server connected to the OS of your application server.
    However if you want to temporarily create a URL via the ABAP application server for a file in the filesystem you can do so by placing the content into the ICM cache.
    So you would read the file from the filesystem using the normal ABAP dataset commands.
    Here is a small example where I am doing this with different image formats:
    ****Create the cached response object that we will insert our content into
      data: cached_response type ref to if_http_response.
      create object cached_response
        type
          cl_http_response
        exporting
          add_c_msg        = 1.
    *  cached_response->set_compression( options = cached_response->IF_HTTP_ENTITY~CO_COMPRESS_IN_ALL_CASES ).
    try. " ignore, if compression can not be switched on
          call method cached_response->set_compression
            exporting
              options = cached_response->co_compress_based_on_mime_type
            exceptions
              others  = 1.
        catch cx_root.
      endtry.
    ****set the data and the headers
      data: l_app_type type string.
      data: l_xstring type xstring.
      case i_format.
        when 'BMP'.
          cached_response->set_data( me->gx_content ).
          l_app_type = 'image/x-ms-bmp'.
        when 'GIF'.
          me->get_content_ext_format(
            exporting
              i_format  = i_format
            importing
              e_xstream = l_xstring ).
          cached_response->set_data( l_xstring ).
          l_app_type = 'image/gif'.
        when 'JPG'.
          me->get_content_ext_format(
            exporting
              i_format  = i_format
            importing
              e_xstream = l_xstring ).
          cached_response->set_data( l_xstring ).
          l_app_type = 'image/jpeg'.
        when 'TIF'.
          me->get_content_ext_format(
            exporting
              i_format  = i_format
            importing
              e_xstream = l_xstring ).
          cached_response->set_data( l_xstring ).
          l_app_type = 'image/tiff'.
        when 'PNG'.
          me->get_content_ext_format(
            exporting
              i_format  = i_format
            importing
              e_xstream = l_xstring ).
          cached_response->set_data( l_xstring ).
          l_app_type = 'image/png'.
        when others.
          raise exception type zcx_abap_bitmap.
      endcase.
      cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = l_app_type ).
    ******Set the filename into the response header
    *  cached_response->set_header_field( name  = 'Content-Encoding'
    *                                     value = 'compress' ).
    ****Set the Response Status
      cached_response->set_status( code = 200 reason = 'OK' ).
    ****Set the Cache Timeout - 60 seconds - we only need this in the cache
    ****long enough to build the page and allow the IFrame on the Client to request it.
      cached_response->server_cache_expire_rel( expires_rel = i_cache_timeout ).
    ****Create a unique URL for the object
      data: guid type guid_32.
      call function 'GUID_CREATE'
        importing
          ev_guid_32 = guid.
      concatenate i_path '/' guid '.' i_format into r_url.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = r_url
                                           response = cached_response ).
    Another option would be to create a custom ICF handler class.  In this class you could pass the file name as URL parameters, read the content using ABAP DATASET commands and return the content in the response object. 
    Handler classes have to implement the IF_HTTP_EXTENSION Interface.  You implent the method HANDLE_REQUEST.
    Here is an example implementation of the HANDLE_REQUEST:
    * Inform ICF to "keep" (reuse) this handler, and that we answered the HTTP request
      if_http_extension~lifetime_rc = if_http_extension=>co_lifetime_keep.
      if_http_extension~flow_rc     = if_http_extension=>co_flow_ok.
    * Determine image name from URL ~script_name/~path_info (= image_name)
      data: name type string.
      name = server->request->get_header_field( name = if_http_header_fields_sap=>path_info ).
      translate name to upper case.
      if strlen( name ) >= 1 and name(1) = '/'.
        shift name left.
      endif.
    * Application logic
      data: content type xstring.
      content = me->load( name ).
      if xstrlen( content ) is initial.
        raise exception type cx_http_ext_exception exporting msg = 'Invalid URL!'.
      endif.
    * Set up HTTP response
      server->response->set_status( code = 200 reason = 'OK' ).
      server->response->set_header_field( name = if_http_header_fields=>content_type   value = 'image/png' ).
      server->response->server_cache_expire_rel( expires_rel = 86000 ).
      server->response->set_header_field( name = if_http_header_fields=>cache_control value = 'max-age=86000' ).
      server->response->set_data( content ).
    3rd option would be to create an ICM File Handler. I detailed this functionality in the SAP Press book Advanced BSP Programming.  It is covered in Chapter 16.2.  Here is an exerpt:
    The Internet Communication Manager (ICM) allows just such access to any file
    system accessible to the underlying operating system. You can map operating file
    system directories into ICM URL paths using the profile parameter icm/HTTP/
    file_access_<xx>.
    If you have never maintained one of the system-profile parameters, now is good
    time to make friends with your Basis administrator. With the following additions
    to our instance profile and a quick restart of the ICM, we are now able to access
    file system directories via HTTP.
    icm/HTTP/file_access_0 =
    PREFIX=/doc/, DOCROOT=/usr,BROWSEDIR=2
    icm/HTTP/file_access_1 =
    PREFIX=/doc2/,
    DOCROOT=
    server\SAPPatches\Netweaver04,BROWSEDIR=2
    In the first entry, we are just going to map to the local directory usr. We are able
    to control the useru2019s options to browser a directory via the additional parameter
    BROWSEDIR. The possible values are: 0 u2013 no browsing allowed, 1 u2013 only file names
    are displayed, and 2 u2013 file names along with their size and last change date are displayed.
    The second entry really shows off the power of this profile parameter. We are able
    to expose a directory on a remote server via UNC paths. Of course the security on
    that directory would have to be open to allow read-and-browse access. There is
    also no real mechanism to apply security to the ICM URL for this file access node,
    so you will want to be careful what you expose through it.

  • How do i back up files to a external drive

    How do I back up files to an external drive

    See the Help file:
    http://help.adobe.com/en_US/elementsorganizer/using/WSae2ea3b149d0c3591ae939f103860b3d59-7 f50_WIN.html
    Ken

Maybe you are looking for

  • Sending spot color separated art to DPM, can 1 color be sent lighter?

    I have a two spot color PDF (black and a PMS green).  The photos are grayscale and look fine on the screen but when I send it to our DPM and look at the preview there, the photos are super dark.  The text is in 100% green so I really dont want that t

  • Is Photon flash browser enable seeing flash player vidéos in Canada on I-Pad

    Is Photon flash browser enable to see canadien flash player vidéo as CBC télévision on I-Pad ?

  • Firefox won't open site which Chrome opens fine

    I have a site which opens fine with Chrome browser, IE, Safari, Opera, but will not open with FF. Initially FF (and other browsers) is asking about security certificate which I add and save the exception. After that redirect should be performed and i

  • ECC 6 Datasource in ECC 5

    We're running BI 7 with an ECC 5 source system.  I'm interested in a datasource (0PM_MEASUREMENT) that help.sap.com says is Available as of Release SAP ECC 6.0.  Of course, I can't see it currently in RSA5. My question is, short of completely upgradi

  • Can you export two dataproviders to excel?

    We have a web template with two tables, both run against different data providers. Is there anyway to export both to a single excel spreadsheet? I can get one dataprovider to export but am having difficulty adding a second. Any help will be appreciat