File Info problem

I have just recently upgraded from a Windows XP Pro desktop to a Vista Premium Laptop. I store all my MP3's (200GB+) on an external hard drive which is backed up on a second.
I used the following programs on XP:
CD Grabber
MediaTagger
iTunes
Now when I come to access my mp3's on Vista using these programs I have the following problems:
* When I try to edit the file info in iTunes the fields are grayed out and I cannot edit them.
* When I open Media Tagger manually and edit the files I get a message saying I cannot access this file.
All the MP3's play fine and I can edit any new files I have ripped or downloaded.
I believe the problem may be something to do with file ownership. Can anybody advise?

Yes, this is most likely a folder permission issue, Vista is very fussy about that.
Your account needs to have full control of your iTunes Music folder.
There is help on permissions here:
http://windowshelp.microsoft.com/Windows/en-US/Help/2464a180-e5dc-45d1-a2b8-3c8a 2b571e9d1033.mspx
http://www.mydigitallife.info/2007/05/25/how-to-take-ownership-and-grant-permiss ions-in-windows-vista/

Similar Messages

  • File Info problems in Photoshop CC & CS5.1 on OS X 10.8

    I have recently upgraded my Macs, running OS X Mountain Lion, from Photoshop CS5.1 to Photoshop CC for two reasons:
    1. Because it most the most cost efficeint way to obtain the latest Camera Raw plugins that are no longer supported in CS5.1
    2. Because I began experiencing issues on two Macs where initially only in Bridge, was I no longer able to input any File Info dialogue.
    I make extensive use of File Info templates, which are then applied to batches of files in Bridge before individual files, or groups of files requiring the identical metadata are modified.
    After a time, once the overall batch of File Info templates had been applied to files I discovered that I was unable to edit them further. Even after Repairing Permissions in Disk Utility it usually took a reboot to fix the problem, although the problem was always solved.
    However there came a point a few weeks ago when I was unable write any further metadata to File Info, in Bridge or Photoshop, no matter what I did. Again this issue happened on two Macs so I'm guessing that it is not a machine issue.
    As I needed the latest Camera RAW plugins as well I decided to upgrade to Photoshop CC, which I have to say I have been very pleased with - until now. The dreaded File Info problem has now occurred again, although currently only in Photoshop, not Bridge. When I try to add or modify any information in File Info in Photoshop CC the dialogue box just closes!
    Clearly it is not just a Photoshop CC issue although I never had the problem prior to CS5.1 and I leapfrogged CS6 and I find it hard to believe that it is a machine issue. Could it be a conflict with the OS or with Extensis Suitcase Fusion 4?
    Has anyone else encountered this problem?

    Curt, Thanks for your rapid response.
    To answer your questions. I thought that, initially, the problem might be a permissions problem but it occurs on both boot drives and also when the same files are copied to Firewire external drives - on both Macs, but different external drives in each case. I followed your link but there was nothing there that I didn't already know or hadn't already tried, thanks.
    One computer is a 24" iMac and the other is a 15" MacBook Pro. I've also tried to replicate the problem on four PowerMac G5s running OS X 10.5.8 with Photoshop/Bridge CS4, with the same drives plugged in, but have experienced no problems at all. It's quite bizarre.
    Also, looking deeper into the conundrum, I find that I can't input any numbers, only letters! Using the keyboard all numbers, whether on the main or auxiliary keypads, cause the File Info dialogue box to either jump to a new tab or close. Using Shift on the numbered keys works perfectly however!
    It just goes on getting better...

  • Adobe CMM and Photoshop CS4 File Info problems

    I installed the Adobe Color Management Module several days ago.
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=3618
    Today when I opened the File Info dialog in Photoshop CS4,I got a blank black window. Same went for the Kuler window and other extensions under the Window menu. Other panels such as the palettes and toolbox were fine.
    I went through reset prefs,reinstalled PS,and reinstalled my video driver.
    Same problems.
    Uninstalled the Adobe CMM and the panels returned to normal.
    I don't know exactly what happened,but something this forum should know about.

    Chris,I downloaded and reinstalled the CMM and the problem repeated.
    File Info: blank, as well as the Kuler, and Connect extensions under the Windows menu. Additionally,any custom panels installed via Configurator also went blank.(although I had uninstalled those on my first round of troubleshooting)
    Again as soon as I uninstalled the CMM,I got the File Info, Kuler, and Connect windows back.
    This is on a Toshiba A205-S5843 running Vista SP1
    I also tried the CMM on a Toshiba A75 (Windows XP)with a trial of CS4 Extended. There were no problems on that configuration with the CMM installed.
    I don't know what it is,but thought it should be passed along.

  • Batch File Info problem: (CS3)

    As was the case with CS2, when in bridge adding file info. to multiple files, the data entered within Copyright Notice, Copyright Status and Copyright Info URL is shown as entered and correct when checking back the file info. within Bridge - However, if one of those files is then opened in Photoshop and the file info. is checked, the data entered is either incomplete or simply not being shown.
    This occurs when working working on TIFFS. When working with JPEG it does not.
    Process:
    1) Bridge - Adding file info.
    - Select multiple files.
    - Right click > File info
    - Enter file info. data.
    - Click ok.
    2) Bridge - Checking file info.
    - Select one of the files file info. has been applied to.
    - Right click > File info.
    - Check info. panels for correct data.
    - All appears correct and as entered.
    3) Photoshop - Checking file info.
    - Open one of the files file info. has been applied to.
    - Check file info:
    i) Having chosen Copyrighted as the option within Copyright Status, now appears untouched and defaults to Unknown!!
    ii)Data entered within Copyright Notice appears incomplete, showing only the first sentence and a half. (i.e 22 words, 107 characters (no spaces) 128 characters (with spaces))
    iii)Data entered within Copyright Info URL does not appear.
    I figured this would have been sorted for CS3?!
    For me this is a really major issue, your assistance and a fix are desperately, desperately needed.
    Kind regards
    Will

    I am using Vista, but have no problems with opening File Info on multiple files.

  • File Info Dialog problem

    Hi,
    Not sure if this is a bug or if I'm just missing a setting someplace.
    Problem: I write a lengthy caption in the "Description" window of the File Info dialog. Later on I want to use that same caption on a different image.
    Using CS3 on Windows I can click on the flyout arrow next to the "Description" window and input the entire caption.
    Using CS3 on Mac, the flyout will only input sections of the caption. It seems like the Mac version breaks the caption apart based on any punctuation that is in the caption.
    Ex. If my caption is "01 July 2008, Los Angeles, California, USA - Paul has issues with Photoshop, causing a problem when captioning files."
    Windows puts the entire caption in the field. Mac breaks it down like this:
    01 July 2008
    Los Angeles
    California
    USA
    Paul has issues with Photoshop
    causing a problem when captioning files
    I don't recall this being an issue with PS7 or CS1. Am I missing something or is this just the way CS3 works?
    Thanks in advance for any help!
    -Paul

    I narrowed down the issue even more. Non-English languages have their strings, tags, and texts stored in a file named strings.txt in a language-specific subdirectory in the Resources directory in the Adobe Bridge CS6 program folder. The strings.txt file includes, among many other things, a language-specific decimal separator character—which in English is a dot but in many non-English languages is a comma.
    When I replace the comma as the decimal separator in the German-language strings.txt file by a dot then all of sudden the f-stops are displayed correctly in the thumbnail pane ... well, except that e. g. "f/2,8" now gets displayed as "f/2.8" which in German is wrong but acceptable—and definitely much better than "f/2,0" which is unacceptably wrong when the actual value is 2.8.
    The idea to try this dawned on me when I noticed that in some places in the metadata pane, decimal numbers are displayed with a comma (respecting the decimal separator character given in strings.txt); in other places, they're displayed with a decimal point (ignoring strings.txt). Those using a dot are correct; those using a comma are wrong. So there's two bugs in Bridge rather than just one. First bug: In some places, the language-specific decimal separator character is ignored. Second bug: When it is not ignored then the number displayed will be wrong.
    So my workaround now is to use a dot as the decimal separator character rather than a comma.

  • Problems with Custom File Info Panel and Dublin Core

    I'm creating a custom file info panel that uses the values of the dublin core description and keywords (subject) for two of it's own fields.  I'm having problems with the panel saving if they enter the description on the custom panel first, and with the keywords not echoing each other, or reappearing after a save.<br /><br />Here is the code for the panel<br /><br /><?xml version="1.0"><br /><!DOCTYPE panel SYSTEM "http://ns.adobe.com/custompanels/1.0"><br /><panel title="$$$/matthew/FBPanelName=Testing for Matthew" version="1" type="custom_panel"><br />     group(placement: place_column, spacing:gSpace, horizontal: align_fill, vertical: align_top)<br />     {<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/keywords = Keywords', font: font_big_right, vertical: align_center);<br />               edit_text(fbname: '$$$/matthew/keywordsFB = Keywords', locked: false, height: 60, v_scroller: true, horizontal: align_fill, xmp_ns_prefix: 'dc', xmp_namespace: <br />'http://purl.org/dc/elements/1.1/', xmp_path: 'subject');<br />          }<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/description = Description', font: font_big_right, vertical: align_center);<br />               edit_text(fbname: '$$$/matthew/descriptionFB = Description', locked: false, height: 60, v_scroller: true, horizontal: align_fill, xmp_ns_prefix: 'dc', xmp_namespace: <br />'http://purl.org/dc/elements/1.1/', xmp_path: 'description');<br />          }<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/season = Season', font: font_big_right, vertical: align_center);<br />               popup(fbname: '$$$/matthew/seasonFB = Season', items: '$$$/matthew/Season/Items={};option 3{option 3};option 2{option 2};option 1{option 1}', xmp_namespace:'http://monkeys.com/demo/testingmatthew/namespace/', xmp_ns_prefix:'matthew', xmp_path:'season');<br />          }<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/ltf = Limited Text Field', font: font_big_right, vertical: align_center);<br />               edit_text(fbname: '$$$/matthew/ltf = Limited Text Field', locked: false, horizontal: align_fill, xmp_namespace:'http://monkeys.com/demo/testingmatthew/namespace/ ', <br />xmp_ns_prefix:'matthew', xmp_path:'ltf');<br />          }<br />     }<br /></panel><br /><br />Thanks for the help

    To answer my own question:
    The documentation really sucks.
    I found this reply from Adobe <http://forums.adobe.com/message/2540890#2540890>
    usually we recommend to install custom panels into the "user" location at:
    WINDOWS XP: C:\Documents and Settings\username\Application Data\Adobe\XMP\Custom File Info Panels\2.0\panels\
    WINDOWS VISTA: C\Users\username\AppData\Roaming\Adobe\XMP\Custom File Info Panels\2.0\panels\
    MAC OS: /user/username/Application Data/Adobe/XMP/Custom File Info Panels/2.0/panels/
    The reason why your panels did not work properly was a missing Flash trust file for that user location. Without such a trust file the embedded flash player refuses to "play" your custom panel.
    Please see section "Trust files for custom panels" in the XMPFileInfo SDK Programmer's Guide on page 50 for all details on how to create such trust files.
    After many wasted hours I have now the simple panels running.
    Cheers,
    H.Sup

  • Problems with File Info Option

    I've been getting completely frustrated adding specific information under the "description" table listed under  File>File Info option in Bridge CS4.
    Everything is greyed out and I cannot add information.  I have to go through each of the 100s of images to find out that some of the images will not allow information added even though they were all taken with the same freaking camera.
    Please help!!!!!  I have 1000s of images and cannot go through each one to add copyright information etc...the files are not locked when I look under the finder option.
    Is anyone else having this problem????

    Thx!!!! It worked!!!!
    Daniel K. Lee
    Commercial Photographer
    tel: 415.225.3289
    email:  [email protected]
    www.DKLImages.com
    2009/6/14 Ramón G Castañeda <[email protected]>
    As for your problem, first purge the cache for the offending folder(s)
    through the Tools menu in Bridge, as Omke says.
    >
    >
    http://forums.adobe.com/servlet/JiveServlet/showImage/5441/Bridge_CS4_cache_prefs.jpg
    >
    If that doesn't do it, the trash your preferences by holding down the
    Option key as you relaunch Bridge.
    >
    I will mention the obvious just in case:  make sure you have full read and
    write permissions to each file (do a Get Info on the file icon in the
    Finder).  Sometimes files get their permissions changed when copied over to
    your drive, especially from a CD or DVD.
    >
    You cannot add metadata to an image that resides on a CD or DVD, and it
    would be the same if the permissions are wrong.
    >

  • Photoshop CS5 'file info' pemissions problem

    I recently had to replace the had drive and reinstall Photoshop CS5. I used to be able to access the file info box and add metadata or read the camera settings. Now the file info box loads but the fields are not available. if I log out and use the guest account on my Mac it works fine so Adobe support told me it is a permissions issue that prevents the box from loading. I have no idea where to correct this.
    I am running Photoshop at 32 bit so my scanner will work, but I tried it at both 32 & 64, but the file info box doesn't load regardless of this setting. I also tried unistalling & reinstalling Photoshop. I have obviously messed up a user permissions setting somewhere but I don't know where to fix it.
    Here is a screen capture showing the two views. The top is logged into my usual account and bottom is on the guest account.Thanks for any suggestions!
    http://dl.dropbox.com/u/8102950/screens_mac.jpg
    mac OSX 10.6.8
    Photoshop CS5 10.0.4 x32

    I recently had to replace the had drive and reinstall Photoshop CS5. I used to be able to access the file info box and add metadata or read the camera settings. Now the file info box loads but the fields are not available. if I log out and use the guest account on my Mac it works fine so Adobe support told me it is a permissions issue that prevents the box from loading. I have no idea where to correct this.
    I am running Photoshop at 32 bit so my scanner will work, but I tried it at both 32 & 64, but the file info box doesn't load regardless of this setting. I also tried unistalling & reinstalling Photoshop. I have obviously messed up a user permissions setting somewhere but I don't know where to fix it.
    Here is a screen capture showing the two views. The top is logged into my usual account and bottom is on the guest account.Thanks for any suggestions!
    http://dl.dropbox.com/u/8102950/screens_mac.jpg
    mac OSX 10.6.8
    Photoshop CS5 10.0.4 x32

  • File Info Description Copyright Notice text problem

    I want to change the Copyright Notice text in File>File Info>Description in a way that is permanent.  Back in 2009  I set the text to say "Copyright 2009" and now I want it to say Copyright 2011.  Changing the text works for the current image but the next image I open, it reverts to 2009.  How do I fix this?

    that there are DEFAULT values for both Photographer and Copyright Notice that are loaded (from SOMEWHERE) every time I launch Photoshop.
    Sounds like you may already have a Script to add the © notice.
    Yes, I did misunderstand the need.
    Good luck, and I see that you are suffering from a "split-personality." Post with both I.D.s to the Forum Comments forum, and Adobe-Admin will help you straighten things out. Note: Adobe is on Summer holiday, until July 10, so John might not be working, until then.
    Hunt

  • CS5 Generic File Info Memory Problem

    We have been using a  very large custom generic panel in CS4 File Info.  The MRU file has  grown to 2.5 mb, the properties are 1.5 mb -- but they have been working  great in CS4.  In CS5 they frequently do not work .   The panel will either be empty when  you open it, although there are xmp values in file, or after entering data, the panel will spin for a while, show empty again, often after trying to process the MRU's.
    Are panels  in CS5 products OK to be used for this large of a  metadata set of attributes and values?
    Using latest Macs, 4GB of ram, happens in all CS5 apps.
    Thanks for your  help.
    Todd

    Todd,
    I understand your requirement. Controlled vocabularies can be a 
    critical component of a metadata strategy.
    I know people that use a semicolon delimited file to pre-load the CS3 
    File Info MRU of a bag or seq field via a single copy and paste. Its 
    limit appears to be fifteen entries. Like you they are simulating a 
    controlled vocabulary for a list.
    Pound Hill's MetaGrove Plug-in provides controlled vocabularies for 
    lists (bag and seq). These are displayed as a table of one column, 
    popup at the top, open or closed choice.
    The largest single (internal) MetaGrove vocabulary I have implemented 
    has 4004 entries in one language, 1 mb in size. PHS's format is more 
    verbose than Adobe's MRU or File Info panel formats. It takes 20 
    seconds to initialize.
    MetaGrove vocabularies can optionally be external text files, with tab 
    delimited value/label pairs, local or on the network. These are single 
    language, by definition. This is intended for an enterprise where the 
    external vocabulary file is typically updated monthly or quarterly. 
    The plug-in will automatically cache the update within a week 
    (default). The vocabulary can be maintained using a spreadsheet or 
    output from an application like yours.
    Regarding your test with repeated red, green blue, for 100,000 entries:
    In File Info v0 and v1 (CS through CS3), "All names and keyphrases 
    (values) in the list must be unique." This constraint is not mentioned 
    in the v2/3 File Info document. Does repeated red, green blue work 
    with 9 entries or so?
    Most CS3 applications have odd behaviors with more than 99 entries in 
    a File Info popup. This appears to be fixed in Acrobat 10. I haven't 
    attempted more than 200 entries in a CS3 panel popup.
    I suspect that building a in-memory copy of a vocabulary from a panel 
    file, or from the MRU file, is a serial process and does not scale 
    linearly. Each incremental entry takes longer to add to the in-memory 
    representation because the entire in-memory copy must be scanned each 
    time. The design goals of tens to entries probably did not warrant 
    using database techniques for the internal representation. The 
    performance in CS4 is your benchmark.
    CS4 and 5 File Info appears to be doing some central caching. 
    Sometimes, I need to remove the panel entirely, Exit all File Info 
    applications, run an application and its File Info, Exit and then add 
    the panel in again to get changes to take. You probably need to get 
    everyone-out-of-the-pool before you touch the MRU file.
    The CS3 copy and paste technique mentioned above might be an 
    alternative to let FIle Info manage the MRU. However, in your case, it 
    will test the implementation limits of the menu field payload capacity.
    Carl  crambert at poundhill dot com

  • Help with add file name problem with Photoshop CS4

    Frustrating problem: Help with add file name problem with Photoshop CS4. What happens is this. When I am in PS CS4 or CS3 and run the following script it runs fine. When I am in Bridge and go to tools/photoshop/batch and run the same script it runs until it wants interaction with preference.rulerunits. How do I get it to quit doing this so I can run in batch mode? Any help is appreciated. HLower
    Script follows:
    // this script is another variation of the script addTimeStamp.js that is installed with PS7
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.INCHES;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "Lower© ";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = " ";
    // Set font size in Points
    myTextRef.size = 10;
    //Set font - use GetFontName.jsx to get exact name
    myTextRef.font = "Arial";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 0;
    newColor.rgb.green = 0;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 10, 99);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

    you might want to try the scripting forum howard:
    http://www.adobeforums.com/webx?13@@.ef7f2cb

  • FILE UPLOAD PROBLEM SHOWING THE CONTENTS IN THE SAME BROWSER WINDOW

    Hi,
    This is amit Joshi
    I have uploaded content using input tag of type file and posted to jsp as multipart/form-data type
    in that jsp i am using following code to display the content in browser but only first content is displayed How can i modify it to show all content in the file ..
    <html>
    <head>
    <title>File Upload Display</title>
    </head>
    <body>
    <%
    //ServletOutputStream sout=response.getOutputStream();
    StringBuilder strBuilder = new StringBuilder();
    int count=0;
    String f;
    f=request.getParameter("filedb");
    DBManager dbm = new DBManager();
    //dbm.createTable("mms3");
    //log.info("In JSP : "+ f);
    //dbm.insert_data(f,"mms3");
    %>
    <%
    if (ServletFileUpload.isMultipartContent(request)){
    ServletFileUpload servletFileUpload = new ServletFileUpload(new DiskFileItemFactory());
    List fileItemsList = servletFileUpload.parseRequest(request);
    strBuilder.append("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>").append('\r').append('\n').append("<xpage version=\"1.0\">").append('\r').append('\n');
    String optionalFileName = "";
    FileItem fileItem = null;
    Iterator it = fileItemsList.iterator();
    ServletOutputStream outputStream=null;
    while (it.hasNext()){
    FileItem fileItemTemp = (FileItem)it.next();
    if (fileItemTemp.isFormField()){
    %>
    <b>Name-value Pair Info:</b>
    Field name: <%= fileItemTemp.getFieldName() %>
    Field value: <%= fileItemTemp.getString() %>
    <%
    if (fileItemTemp.getFieldName().equals("filename"))
    optionalFileName = fileItemTemp.getString();
    else
    fileItem = fileItemTemp;
    if (fileItem!=null){
    String fileName = fileItem.getName();
    %>
    <b>Uploaded File Info:</b>
    Content type: <%= fileItem.getContentType() %>
    Field name: <%= fileItem.getFieldName() %>
    File name: <%= fileName %>
    <%
    if(fileItem.getContentType().equals("image/jpeg")) { %>
    File : <p><%
         //response.setContentType("image/gif");
         byte[] bArray=fileItem.get();
         response.setContentType("image/jpeg");
         outputStream=null;
         outputStream= response.getOutputStream();
         outputStream.write(bArray);
         outputStream.flush();
         outputStream.close();
    else if(fileItem.getContentType().equals("text/plain"))
         %> File : <%= fileItem.getString() %>
    <%
    byte[] bArray=fileItem.get();
    response.setContentType("text/plain");
         outputStream = response.getOutputStream();
         out.println();
         outputStream.write(bArray);
         outputStream.flush();
         outputStream.close();
    %> </p> <%
    %>
    </body>
    </html>
    Edited by: Amit_Joshi on Nov 13, 2007 10:58 PM

    Well Well Well..
    That would not work...
    What you have to do is save the uploaded file content on to a location and then pass the fileName as a request parameter to a deidicated which displays the contents of that file.
    Just as an example
    <html>
    <head>
    <title>File Upload Display</title>
    </head>
    <body>
    <%
    //ServletOutputStream sout=response.getOutputStream();
    StringBuilder strBuilder = new StringBuilder();
    int count=0;
    String f;
    f=request.getParameter("filedb");
    DBManager dbm = new DBManager();
    //dbm.createTable("mms3");
    //log.info("In JSP : "+ f);
    //dbm.insert_data(f,"mms3");
    %>
    <%
    if (ServletFileUpload.isMultipartContent(request)){
    ServletFileUpload servletFileUpload = new ServletFileUpload(new DiskFileItemFactory());
    List fileItemsList = servletFileUpload.parseRequest(request);
    strBuilder.append("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>").append('\r').append('\n').append("<xpage version=\"1.0\">").append('\r').append('\n');
    String optionalFileName = "";
    FileItem fileItem = null;
    Iterator it = fileItemsList.iterator();
    ServletOutputStream outputStream=null;
    while (it.hasNext()){
       FileItem fileItemTemp = (FileItem)it.next();
    %>
    Name-value Pair Info:
    Field name: <%= fileItemTemp.getFieldName() %><br/>
    Field value: <%= fileItemTemp.getString() %><br/>
    <%
    if (fileItemTemp.getFieldName().equals("filename"))
        optionalFileName = fileItemTemp.getString();
    if(!fileTempItem.isFormFiled()){
       String fileName = fileItem.getName();
       fileItem.write(optionalFileName);
    %>
    Uploaded File Info:
    Content type: <%= fileItem.getContentType() %><br/>
    Field name: <%= fileItem.getFieldName() %><br/>
    File name: <%= fileName %><br/>
    <%
    if(fileItem.getContentType().equals("image/jpeg") || fileItem.getContentType().equals("image/pjeg")) {
    %>
      <img src="FileServlet?fileName=<%=optionalFileName%>"   
    <%
    %>
    </body>
    </html>a sample code snippet for FileServlet.
    String fileName =  request.getParameter(fileName);
      File file = new File(fileName);
       if(!file.exists())
         return;
      // If JSP
      String mimeType = application.getMimeType("fileName");
           If you are using servlet
           String mimeType = this.getServletContext().getMimeType(fileName);
         response.setContentType(mimeType);  
         response.setHeader("Content-Disposition","inline;filename=\\"+fileName+"\\");
      BufferedOutputStream out1 = null;
      InputStream in = null;
      if(mimeType == null)
         mimeType = "application/octet-stream";
      try{
         in = new FileInputStream(f);
         response.setContentLength(in.available());
         BufferedOutputStream out1 = new BufferedOutputStream(response.getOutputStream(),1024);
         int size = 0;
         byte[] b = new byte[1024];
         while ((size = in.read(b, 0, 1024)) > 0)
            out1.write(b, 0, size);
      }catch(Exception exp){
      }finally{
          if(out1 != null){
             try{
                out1.flush();               
                out1.close();
             }catch(Exception e){}
          if(in != null){
            try{in.close();}catch(Exception e){}
      } Hope that might answer your question :)
    However,this is not the recommended way of doing this make use of MVC pattern.Would be a better approach.
    you might think of googling on this and can findout what is the best practise followed for problems of this sort
    REGARDS,
    RaHuL

  • How to create a custom panel in the right way (without having an empty panel in the file info) ?

    Hi Everyone
    My name is Daté.
    I'm working in the fashion industry as a designer and Design consultant to help fashion brands improving the design workflow by using Adobe softwares and especially Illustrator.
    I'm not a developper, but i'm very interested about the possibility to introduce xmp technology to provide more DAM workflows in the fashion industry.
    Fashion designers produce a lot of graphical objects in illustrator or Photoshop. Unfortunately they are faced to a big challenge which is about how to manage, search, classify and get this files faster. Of course PDM system or PLM system are used in the Fashion industry to manage data, but for many companies, implemanting this kind of database is very complex.
    When i look at what you can do with xmp, it seems to be an interesting way of managing design files, then i started to follow Adobe instruction to try to build a custom panel.
    The main idea is to (Theory) :
    create custom panels used by fashion designers to classify their design files.
    Use Adobe Bridge to search files, create smart collection to make basic reports in pdf and slideshows
    Find someone to make a script able to export metadata in xml files
    Use indesign and the xml file to generate automatically catalogues or technical sheets based on xmp values
    I have created a custom panel by using the generic panel provided by Adobe and i have modified the fields to feet with the terms used in the fashion industry and it works well.
    But unfortunately, when i try to create my own custom panel from scratch with Flashbuilder (4.6) and the Adobe CSExtensionBuilder_2 (Trial version), it doesn't work!
    Here is the process :
    I have installed flashbuilder 4.6
    I have download the XMP Fileinfo SDK 5.1 and placed the com.adobe.xmp.sdk.fileinfo_fb4_1.1.0.jar in C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\eclipse\plugins
    In Flashbuilder, i have created a new project and select xmp Custom panel
    The new project is created in flashbuilder with a field with A BASIC Description Field
    To generate the panel, right click the project folder and select xmp / Publish Custom Panel
    The panel is automatically generated in the following folder : C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels
      Go to illustrator, Open the file Info
    The panel appears empty
    The others panel are also empty
    The panel is created and automatically placed in the right folder, but when you open it in Illustrator by selecting the File Info option in the File Menu, this custom panel appears empty!!! (only the title of the tab is displayed). This panel also prevent the other panels to be displayed.
    When you delete this custom panels from the folder C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels and go back to the File Info, the other panels display their content properly.
    I also try to use the plugin XMP Namespace designer to create my own namespace. this plugin is also able to generate a custom panel, but this one also appears empty in AI or Photoshop.
    I try to follow the process described in Adobe xmp documentation many times, but it didn't works.
    It seems that many peaople have this issue, but i dodn't find a solution in the forum.
    I try to create a trust file (cfg), but it didn't work.
    It would be so kind if you can help me to understand why i can't create a custom panel normally and how to do it in the right way.
    Thanks a lot for your help,
    Best regards,
    Daté 

    Hi Sunil,
    After many trial, i realize the problem was not coming from the trust file, but from the way i have created the custom panel.
    There is 2 different ways, the first described below is not working whereas the second is fine :
    METHOD 1 :
    I have downloaded the XMP-Fileinfo-SDK-CS6
    In the XMP-Fileinfo-SDK-CS6 folder, i copied the com.adobe.xmp.sdk.fileinfo_fb4x_1.2.0.jar plugin from the Tools folder and i pasted it in the plugind folder of Flashbuilder 4.6
    The plugin install an XMP project
    In Flashbuilder 4.6 i have created a new project (File / New /Project /XMP/XMP Custom Panel)
    A new xmp project is created in flashbuilder.
    You can publish this project by right clicking the root folder and selecting XMP / Publish Custom Panel
    The custom file info panel is automatically published in the right location which is on Mac : /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/3.0 or /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/4.0
    Despite the publication of the custom file info panel and the creation of a trust file in the following location : "/Library/Application Support/Macromedia/FlashPlayerTrust", the panel is blank in Illustrator.
    I try this way several times, with no good results.
    METHOD 2 :
    I have installed Adobe CSExtensionBuilder 2.1 in Flash Builder
    In FlashBuilder i have created a new project (File / New /Project /Adobe Creative Suite Extension Builder/XMP Fileinfo Panel Project)
    As the system display a warning about the version of the sdk to use to create correctly a custom file info, I changed the sdk to sdk3.5A
    The warning message is : "XMP FileInfo Panel Projects must be built with Flex 3.3, 3.4 or 3.5 SDK. Building with Flex 4.6.0 SDK may result in runtime errors"
    When i publish this File info panel project (right click the root folder and select Run as / Adobe illustrator), the panel is published correctly.
    The last step is to create the trust file to display the fields in the panel and everything is working fine in Illustrator.
    The second method seems to be the right way.
    For sure something is missing in the first method, and i don't understand the difference between the XMP Custom Panel Project and the XMP Fileinfo Panel Project. Maybe you can explain it to me.
    So what is the best solution ? the right sdk to use acording to the creative suite (the system asks to use 3.3 or 3.5 sdk for custom panels, so why ?)
    I'm agree with Pedro, a step by step tutorial about this will help a lot of peaople, because it's not so easy to understand!!!
    Sunil, as you belong to the staff team, can you tell me if there is  :
    A plugin or a software capable to extract the XMP from llustrator files to generate XML workflows in Indesign to create catalogues
    A plugin to allow indesign to get custom XMP in live caption
    A plugin to allow Bridge to get custom XMP in the Outputmode to make pdf or web galeries from a smart collection
    How can you print the XMP data with the thumbnail of the file ?
    Thanks a lot for your reply.
    Best Regards
    Daté

  • File sharing problems and horror story (nearly)

    I use Leopard on a MacBook Pro, a MacBook and a iMac G4 800 MHz (unsupported model).
    I have on the iMac and the MacBook Pro many users (the same ont he two machines) and I always use Fast User Switching.
    I have had very few problems with Leopard until now; I like it even if there are some glitches or some new features which are not my cup of tea (hierarchical menus missing from the dock, stacks useless when there are many items, FireWall impossibilities (?) to open specific ports, Back to my Mac working on a Lan but not from outside until now, problems with a few apps (Parallels networking erratic), ...
    Now about File Sharing.
    Let say my main account is user1 (Administrator), and I have another user2 also administrator, plus user3, user4 standard users.
    On the iMac I activate File Sharing.
    On the MacBookPro, as user1, if I connect to the iMac Server (using afp://IPaddress_of_theiMac/) I do NOT get the dialog
    "Enter your user name and password to access file server YYY
    Connect to server as Guest or as Registered User"
    but I directly get the dialog
    "Select the volumes you want to mount on YYY"
    From this, if I select user1 it mounts with full read/write permissions which is normal. It appears that I am connected with my Apple account user1&mac.com (same as mentionned in the Account panel of System Preferences).
    On the other hand, if I try to connect to the user2 account, I only get limited access although in the File Sharing Preferences, user1/iMac is mentionned with full Read/Write preferences for the Home Folder of user2.
    What is very surprising is that if I log on the MacBook Pro as user2, or user 3 or user4, then connect to the iMac, I first get the dialog to enter a user name and a password. This gives me access with the correct full permissions on user1/iMac or user2/iMac using the corresponding user name/password pair; this is the usual behaviour which is missing when trying to connect from user1/MacBook Pro.
    Now for the Horror Story!
    Trying to understand what was going on with the permissions of the user2/iMac account, I logged in to the iMac as user1, went to the Users folder and from there had a look on the informations about user2 home folder. In the lower part of the pannel, Sharing & Permissions says "You have no access" (which is normal) and this is followed by a table where users and permissions are listed. It seems user1 has Read and Write access in contradiction with the preceding phrase...
    Anyway, I tried to modify these authorizations for user2 by clicking on the lock of the Information pannel and entering name and password of the administrator. Didn't go farther than that. By mistake, I hit Command-Delete and user2 was GONE from the list AND NOT ONLY from the list in the Information window! Using Fast User Switching and going to user2, nothing left on the Desktop and NO Home anymore.
    In the System Preferences/Accounts panel, user2 was still mentionned.
    In the Users folder, no user2 folder anymore.
    Using once again Fast User Switching, I logged as user2 and got by magic an all new Home. Nothing left in Documents, Library or other user1 folders. Standard settings for icons, dock, etc.
    My first move has been to use a very recent backup to restore everything (Thank you Mike Bombich from Copy Cloner!).
    Once everything was back to normal, I had a look at the Trash from user1 and guess what, the Home folder of user2 was there, complete.
    So now I am left with two questions
    why is it I do not have the same dialogs when connecting from all the accounts although as far as I can see, configurations are the same?
    why is it possible, from an Information pannel to delete the account of another user?
    Thank you all for comments!

    For the file sharing problems, answer is found in
    http://docs.info.apple.com/article.html?artnum=306723

  • Custom File Info panels from PS into LR

    I have a large number of Custom File Info panels created for use within Photoshop that are imperative to our workflow of different departments. These Metadata strings are later read by Extensis Portfolio as our DAM tool of choice.
    I don't see to be able to find where to change this other than making minor tweaks to existing Metadata presets. Any clues hmmm? Ta

    alanterra wrote:
    there is no way to get the data in the original into the derived copy except by doing it by hand
    Better ways:
    1-1 or 1-many:
    (on the file menu: plugin extras) which brings up:
    If you want to do "many to many-others-like-them", you have to use a different plugin, like Relative Antics..
    alanterra wrote:
    If I understand it correctly, "Custom File Info panels" for xmp data should just solve this problem.
    Many of us are hoping Adobe enhances Lr to provide better support for custom metadata - as you've noticed, Lightroom is not one of those "Standard Adobe Applications" referred to in the above link.
    Rob

Maybe you are looking for

  • Unable to login with my ID and password

    Hi guys need help. I am unable to download any App as i am getting an error while logging to my account with the username and password. I tried logging into the website from my laptop i was able to. Pls help, i am unable to download anything that req

  • Changing WT to GL mapping

    Dear All I am working in a group of companies and there is a request to change the GL mapping for few wage-types for one particular company.  I am new to this particular area of SAP HR, but I am learning.  By far what I have understood that WT are ma

  • Some device fonts not appearing under 11.0.1.152

    Mac OSX 10.7.1 (Lion) Safari 5.1 Firefox 6.0.2 I have several swfs published for FP 10 & 10.1 which have been working fine under FP 10.3.182.10 in both Safari and Firefox. The swfs have code that displays a device font ("_sans") for certain languages

  • Help me!! I can't run photoshop cs6 in windows 8

    Help me!! I can't run photoshop cs6 in windows 8

  • SpaceDesigner using only 2 processors at a time???

    Hi, I was running some benchmark tests using the Benchmark Song using the Space Designer. When I fired it up I was surprised to see that only 2 processors of the 4 cores were being used, and they're not always from one processor, so I could get core