Double podcast upload problem

We produce 2 podcasts every week, which are part of the same series. However, only one of them gets downloaded automatically to subscribers. You have to physically click "get" to download the second one.
Is this because we upload them at the same time?
And if we need to leave a gap between the uploads, how long should that be?
Thanks!

All your episodes appear when subscribed to: a person making a new subscription will have only the most recent episode downloaded, and will need to 'get' any earlier ones manually - this is normal (you might be joining a podcast with 300 episodes...). However if they stay subscribed, then all subsequent episodes should be downloaded automatically (provided this is how their copy of iTunes is set up), not some and not others. This isn't something I can test; I don't see why uploading what are effectively two separate episodes close together should make any difference: it isn't even a matter of the Store's delay in getting round to the feed, since each user's copy of iTunes would read the feed when opened and should download all new episodes.
However there is something to be said for separating the preview and the full episodes into two separate podcasts, since you may be forcing people who only want the short version to download the long version. You can just remove, say, the previews from the present feed and submit a new feed containing them. (Change the title slightly so that iTunes Store doesn't think it's the same podcast).

Similar Messages

  • Mp4/m4a podcast upload problems

    I have a huge collection of AIFF files that I had exported via QT to mp4 files. As of recently, I have a group who's doing some EDU podcast related stuff who was hoping to post up my podcast list, but sent me an email letting me know that they couldn't use the mp4 files, as iTunes is interpreting them as video files, and I needed to use .m4a.
    I heard from a few people on the boards that there's no fundemental difference and that renaming should be fine, although when trying to publish, we're getting this error:
    "iTunes U could not update the content in this group because iTunes U encountered an unsupported enclosure extension in the specified RSS feed at iTunes Podcast Subscription. Until the issue is resolved, iTunes U continues to display the last downloadable version of the content. Verify that the RSS feed enclosures contain only approved content types (mpeg audio, mp4 video, quicktime video, PDF application, mp4a-latm audio) with the appropriate file extensions (mp4, mp4, mov, pdf, m4a) and then try again."
    Does this mean we need to reencode all of our mp4 audio to m4a? If so, is there any way to avoid the recompression (to avoid the long hours of reencoding + potential loss in quality)?

    Henry,
    Sorry, but this is a "me too" post. I've been podcasting since Oct. of 2004 and I noticed this same problem with our podcast since I changed to AAC/m4a. I've checked and rechecked the xml, and even use identical code for our vodcast/enhanced podcast and it updates fine. Interestingly, they both work great in NetNewsWire Lite, so i really think this may be some glitch with iTunes. I know this doesn't help you, but perhaps it will shed some additional light on things.

  • Need a fix for Muse upload problems to GoDaddy????  I found one!

    GoDaddy now has a new cpanel named "Plesk".  In that panel you will find File Manager.  (I use the Windows version).  In the left panel of File Manager, you will see the root directory and all of its subfolders.  When you click on any of these folders, you will see their contents in the right panel.  You will also see a folder labelled "httpdocs".  This is the default folder that is set up in GoDaddy to be your "home" folder.  So, to fix your upload problems, do these steps:
    1.  Click on the httpdocs folder to see it open in the right panel.  In the toolbar above the right panel, you will see a green plus sign with the word "New".  Click on this drop-down menu.
    2.  Choose "directory"
    3.  Type in the name of one of the folders that your site will need, e.g. images, css, assets, scripts, etc.  This basically creates a subfolder within the httpdocs folder, right?  (There is a way to see how your Muse site sets up these folders prior to publish or upload.  You do this by choosing "Export as HTML" in the File menu of Muse, creating a folder on your desktop (or wherever) for the HTML export, then inspecting its contents after your save it.)
    4.  Continue to create all the subfolders within httpdocs that you will need.  Unfortunately, you have to do this one folder at a time.
    5.  After you have them set up, begin the process of uploading your site, like this:
    6.  In the File menu in Muse, you'll of course see "Upload to FTP Host ...".  Click on it.
    7.  A dialog box will open.  In the top text field, type in your website name ... you must use www. with your entry
    8.  In the "FTP Host" field, type in your domain name again like this ... "ftp.yourdomain.com" ... NO FORWARD SLASHES!!! (even if you find instructions to the contrary, like in Filezilla)  (Also, your domain might be a .org or .net, instead of a .com)
    9.  In the "Host directory" field, YOU MUST ENTER "httpdocs"!!!!  Despite what you learn, DO NOT LEAVE THIS FIELD BLANK!!!
    10.  Then enter your GoDaddy username and password.  (If you set up a different username for your GoDaddy account and your Plesk account, like I did, then use your Plesk username and password.)
    11.  Click on "Upload:  All Files"
    The next few steps are tedious, but necessary to keep your site organized on GoDaddy and to keep from confusing things.  You can probably get away with it, but, if your site doesn't load properly in a browser after doing the above steps, you'll need to click on each folder in the root directory that you copied as a subfolder in the "httpdocs" folder and delete the files.  For example, in the left panel of File Manager, you'll see the root directory.  Click on the "images" folder.  If there are any images that you need for your site in that folder, delete them.  Remember ... you've already copied them over to the images subfolder in httpdocs during your last upload described in the instructions above.  If you don't trust that you can delete them, click on the "httpdocs" folder, then click on the "images" folder and check the files.  Same files, right?  So, go ahead and delete the site files that you find in the appropriate folders in the root directory, making sure that you don't delete the ones that are NOT duplicated within the "httpdocs" folder.  Also remember that your .html pages will not require a subfolder to be set up in the "httpsdocs" folder.  They can just sit there, looking pretty.  But you will have to delete them from the root directory to keep things tidy.  Just click on the folder icon next to "root directory", and you'll see those html pages in the right panel.  Again, delete them. 
    REMEMBER:  To keep your Muse uploads to your GoDaddy site error free, you must ALWAYS make sure that "httpdocs" appears in the "Host directory" field in the "Upload to FTP Host ..." dialog box in Muse.  And all files and folders that your site needs MUST go in the "httpdocs" folder in the root directory of your site in GoDaddy's File Manager (now found in your Plesk Panel).
    I hope this wasn't too confusing.  If so, call GoDaddy.  I called them with this fix and they are using it in their phone support.

    Thank you! Thank you! Thank you! I was going out of my mind. And GoDaddy was no help (although they're usually really good.) I put all the folders in "httpdocs" and the website worked perfectly!

  • A different uploading problem

    I have read through the discussions and see that a lot of people are having an uploading problem. I am too, but my problem is a little different. When I upload my photos, everything seems to be fine, all the pages turn from blue to red, and it appears to be done. But, if I quit iWeb, it says it hasn't finished uploading. When I go to the site on the web, everything is there. So, it seems to not be finalizing the last little part where it marks the files as uploaded.
    I am using iWeb 1.1.1.
    I have tried deleting the files from my iDisk and uploading again.
    I have repaired permissions.
    I have deleted the file com.apple.iWeb.plist
    It's not that I'm trying to quit too soon, I have left it for hours, even overnight, and it doesn't complete.
    There's a small circle to the right of the word site that fills in to show progress as it's finishing, and that gets to the point where there's only a small sliver of white.
    Any ideas? Thanks for the help!
    Kirsten
    MacBook   Mac OS X (10.4.7)  

    Have you tried "Publish ALL to .Mac"?

  • Uploading problem with Ebay and Dreamweaver MX

    I am unable to sync websites with Dreamweaver MX 6.01. When I connect to the remote server, it shuts down the program. I have reinstalled the program, but it still does it. Also, when I use Safari, Opera, and Firefox to upload photos on Ebay, the upload process fails completely, and blows me directly into My Ebay, as if I was not on the selling page at all. I have to go to my PC to do the photo uploads. Seems like it may be a related issue, some kind of uploading problem with Rosetta, or something. I am using a Macbook Pro with the 2.0Ghz processor, connected with ethernet cable, and firewall is set to off. Any ideas?

    For E-Bay you might try the following:
    Type the following command in Terminal (while Safari is NOT running):
    defaults write com.apple.Safari IncludeDebugMenu 1
    Then launch Safari, and you will be able to use the new Debug menu.
    If you ever wish to disable it again, just repeat the command with a "0" instead of a "1".
    Under the Debug menu, you'll see the User Agent sub-menu; select Windows MSIE 6.0 from the list and then try connecting to your web site
    Dreamweaver you might need to update your version.
    To Dreamweaver 8.01
    http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=f56452a8

  • Uploading problems with Safari 4.1.3 -

    Hello, I just thought this was a funny question to ask -
    On my PowerPC G5 tower, running OS 10.4.11, and my question is in regards to Safari version 4.1.3 uploading problems for facebook and youtube... I always have to use FireFox version 3.6.13... and not without trouble either.
    I get it.  I need a new computer, but I just thought it fascinating why one works 90% of the time and the other never works.

    Firefox is way more upto date than Safari in 10.4.11, but TenFourFox is the most up to date browser for our PPCs, they even have G4 & G5 optimized versions...
    http://www.floodgap.com/software/tenfourfox/
    Also I think they Require Flash &/or Java, which may be a problem in 10.4

  • Is Safari the problem?  upload problems after Leopard install...

    I installed maximum ram and leopard 10.5 on my old emac and it runs great. I had problems uploading photos to ebay, and attachments to emails, so I installed ilife hoping the upgrade would fix the problem. Nope, when I attempt to upload, the icon just spins and spins, on and on. Could this be a Safari problem? Very frustrated, totally stumped.

    I'm not sure how to link to the iPhoto post thread that help me solve my upload problem. But it is solved. I had to resize the jpeg pic files to 640x320 because my files were way to big. Thanks Old Toad!

  • Podcast upload/download problem

    Hi - recently ftp'd a new episode of my podcast (colliderscope.jellycast.com/podcast/feed/2) to my hosting service.
    Was only when I checked itunes that I realised the file had not uploaded properly and was about a tenth of the size it should be.
    I corrected the problem, however, itunes is still downloading the part file even though it will stream the entire show.
    Can anyone suggest why this is and if there is a simple fix I'm missing? Thanks in advance!

    Subscribing doesn't involve the Store updating because your iTunes application is accessing the media file directly (and the feed). Something odd is going on, possibly with cacheing somewhere along the line. Don't worry about the Store page: check your file by subscribing afresh, and also by entering the media file URL in Safari (rather than FireFox) where it should start playing fairly quickly while continuing to download, and show the correct duration. Currently everything is still seeing the old version of the file.
    I just checked it again: also I downloaded that and the previous episode from the media file URL. The previous episode started to download a file of a suitable looking length (and it plays correctly in a browser). The latest episode downloads a file of only 11.9MB. This is the URL - try downloading it yourself (control- or right-click and choose 'Download linked file' or equivalent).
    http://colliderscope.jellycast.com/files/audio/colliderscope%2010.11.2012_mixdow n_128k.mp3
    So you still have the original file at that URL. You need to go into the server, delete it completely, and re-upload the proper file: I should change the filename and amend the feed as I suggested to be really sure.

  • Manaul Podcast upload & Podcast Directory problems

    I have a couple of podcasts that have been downloaded on another computer, which I cannot get itunes to recognise as podcasts.
    I've saved them in the 'My Received Podcasts' folder, they're in the library with genre set to Podcast but cannot get them to come up in the Podcast department.
    I am unable to click on 'Podcast directory' at the bottom of the Podcast screen.
    Am sure I'm missing something basic. Some assistance would be appreciated.

    Did you ever find an answer? I have the same problem.

  • Podcast Upload Issues

    I upload our podcast every week to iTunes via Blogger. The past 3 weeks individuals have had trouble downloading it. Any possible fixes or know of if this is a comman issuse?

    I was able to subscribe and download, and then play, your latest episode in iTunes on a Mac without any problem. I was also able to play another episode from the Store page.
    However: your URLs are to Feedproxy, and these redirect to archive.org. The URLs for those begin with https - I would have expected this to cause problems; normally it does, so I don't know why it's OK for me.
    You should reset feedproxy (Feedburner) to using the same URLs with http instead of https, this may be the cause of some people's problems.

  • Podcast Image Problem!!!

    I am trying to start a new podcast using Blogger and Feedburner.
    http://retrorejects.blogspot.com/
    http://feeds.feedburner.com/RetroRejects
    I uploaded the image in Feedburner and it appears in the iTunes Store Page:
    https://itunes.apple.com/gb/podcast/retro-rejects/id634159199?mt=2&ign-mpt=uo%3D 4
    The problem occurs when I subscribe to the podcast, the image does not appear, only the generic gray thumbnail.
    I have done some research and thought if I added an iTunes tag in Blogger that this might fix the problem, so I added this:
    <itunes:image href="http://24.media.tumblr.com/f2f6003cfec7afb4dd669f6dd6f37fcf/tumblr_mkyteoP2sx1sn h4wyo1_400.jpg" />
    Here is the entire code from Feedburner:
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?>
    <?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?>
    <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
      <channel>
        <title>Retro Rejects</title>
        <link>http://retrorejects.blogspot.com/</link>
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/RetroRejects" />
        <description>Yet another gaming podcast.</description>
        <language>en</language>
        <managingEditor>[email protected] (Retro Rejects)</managingEditor>
        <lastBuildDate>Sat, 13 Apr 2013 05:10:43 PDT</lastBuildDate>
        <generator>Blogger http://www.blogger.com</generator>
        <openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:totalResults>
        <openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex>
        <openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage>
        <feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="retrorejects" />
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />
        <itunes:owner>
          <itunes:email>[email protected]</itunes:email>
          <itunes:name>NESComplex and Vintage Video Game Geek</itunes:name>
        </itunes:owner>
        <itunes:author>NESComplex and Vintage Video Game Geek</itunes:author>
        <itunes:explicit>no</itunes:explicit>
        <itunes:image href="http://24.media.tumblr.com/f2f6003cfec7afb4dd669f6dd6f37fcf/tumblr_mkyteoP2sx1sn h4wyo1_400.jpg" />
    <itunes:keywords>retrorejects,retro,rejects,nescomplex,nes,complex,vintagevideo gamegeek,vintage,video,game,geek,gaming,podcast,youtube</itunes:keywords>
        <itunes:subtitle>Yesterday's Gaming for Today's Generation</itunes:subtitle>
        <itunes:summary>Yesterday's Gaming for Today's Generation</itunes:summary>
        <itunes:category text="Games &amp; Hobbies">
          <itunes:category text="Video Games" />
        </itunes:category>
        <item>
          <title>This is the Title of our Episode</title>
          <link>http://retrorejects.blogspot.com/2013/04/test-3.html</link>
          <author>[email protected] (NESComplex and Vintage Video Game Geek)</author>
          <pubDate>Sat, 13 Apr 2013 05:10:43 PDT</pubDate>
          <guid isPermaLink="false">tag:blogger.com,1999:blog-2084471415121283595.post-50421324 11845334900</guid>
          <description>&lt;a href="http://archive.org/download/RRTest3/RRTest3.MP3"&gt;This is the description of our episode&lt;/a&gt;&lt;itunes:image href="http://24.media.tumblr.com/f2f6003cfec7afb4dd669f6dd6f37fcf/tumblr_mkyteoP2sx1sn h4wyo1_400.jpg" /&gt;</description>
          <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total>
          <enclosure url="http://archive.org/download/RRTest3/RRTest3.MP3" length="345234" type="audio/mpeg" />
          <itunes:explicit>no</itunes:explicit>
          <itunes:subtitle>This is the description of our episode</itunes:subtitle>
          <itunes:author>NESComplex and Vintage Video Game Geek</itunes:author>
          <itunes:summary>This is the description of our episode</itunes:summary>
    <itunes:keywords>retrorejects,retro,rejects,nescomplex,nes,complex,vintagevideo gamegeek,vintage,video,game,geek,gaming,podcast,youtube</itunes:keywords>
        </item>
      </channel>
    </rss>
    Everything else seems to be working except for this one thing.  Please help!

    You drew my attention to this in another thread, otherwise I wouldn't have seen it - I don't read this forum as I don't have Windows. If you have further questions please post in the Producing Podcasts forum. Also please don't post the text of a feed - the URL (which you have posted) is sufficient.
    However in this case the feed isn't the issue. The image which appears in the Store is referenced in the feed, but the images which appear when subscribing and you select an episode have to be actually embedded in the episode media files. This page gives a full explanation:
    http://www.wilmut.webspace.virginmedia.com/notes/coverart.html

  • HT6012 iMovie upload problems

    I am currently using iMovie 09 and can no longer upload movies to youtube.  Will upgrading to iMovie 13 solve this problem?
    Thank you

    Yes same problem,
      Upgraded from CS 5 to CS 6,  have ~ 50 sites in my list,  all of them that I have accessed so far are having the same FTP problems.
      Upload does not always work,  intermittently a file will upload,   but when it fails,  there is no message as to why.
    Download,  same thing.   Double click on a remote file and it does not download the file,  nor open it in the editor.
    1 out of 10 or 20 times it might work,  but it it cannot be relied on.
    Not a hosting issue,  as I indicated,  alot of sites,  that all worked fine in CS5  but not CS6.
    ftp log does not have any errors
    This is what the log looks like when you try to download a remote file  (and it does not work)
    < 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    < 220-You are user number 1 of 50 allowed.
    < 220-Local time is now 14:34. Server port: 21.
    < 220-IPv6 connections are also welcome on this server.
    < 220 You will be disconnected after 15 minutes of inactivity.
    > USER <removed>
    < 331 User <removed> OK. Password required
    > PASS
    < 230 OK. Current restricted directory is /
    > PWD
    < 257 "/" is your current location
    > CWD /public_html/<removed>
    < 250 OK. Current directory is /public_html/<removed>
    > PWD
    < 257 "/public_html/<removed>" is your current location
    Tried passive FTP setup,  and active,   no difference.
    shortcuts of Ctrl-Shift-U and D are not reliable.
    If you disconnect from the server,  perform an action  (upload download),  it seems to work  but only 1 or 2 times.
    but this is not an acceptible workaround for an expensive software solution.
    CS6 (downloaded from adobe download manager yesterday)
    Windows 7 Home Premium 64 bit,  SP-1
    8GB ram, 2TB disk space free
    CS5 is installed on this PC as well.  (not going to uninstall until CS6 is stable)

  • Podcast Producer: Problems updating podcase descriptions

    Hi,
    I am looking to change the description of my podcast that is currently showing on iTunes. I am using Jellycast as the host.
    I have navigated to the manage podcast page, changed the description to one more desired, and then also pressed the update iTunes button, but nothing is actually happening.
    This problem may have been solved in a previous post but a quick search just led to confusion - complete novice!
    I have also done the same thing when trying to change the copyright, but again nothing has happened.
    The raw feed of the podcast is http://tominniss.jellycast.com/podcast/feed/9 if this is of any help..?
    Thanks in advance,

    Changing the text in the feed and re-uploading will cause the change to appear in the Store, but it won't be immediate. It normally takes 1-2 days for new episodes to appear, so it will take that long for the change to appear: it's just possible that you won't see the change until you upload a new episode - it depends on whether the Store thinks the feed has changed as a result of the changed text.

  • 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

  • Podcast download problems - suddenly

    I've been happily downloading podcasts through iTunes for some time
    Now, suddenly (it seems), it no longer works
    I can subscrive to podcasts, I can get an "episode list" of a podcast, but when I try to actually download the podcast episodes, I get an iTunes error message which says
    "There was a problem downloading (podcast episode name. You do not have enough access privileges for this operation."
    What on earth is it talking about??
    I'd be very grateful for some suggestions to help track down why this is not working when it was only a few weeks ago
    Thanks
    Phil G

    Maybe it's permissions on some parent folders.
    When you get a podcast, what itunes does is create a temporary folder named Podcasts in a folder named Downloads. When the DL finishes, itunes does some rearranging by putting podcast in the final Podcast folder and deleting the temporary Podcast folder.
    So look at permissions on the Download folder - read/write isn't enough, you need create/delete for that temporary "Podcast" folder, too. Full control over the entire music folder & subfolders should fix it.

Maybe you are looking for

  • Sending Text Messages to Multiple Recipients

    Is there a way to send a text message to multiple recipients? I've been trying to figure it out for a while. I feel like this is a feature that apple couldn't have just forgotten! Anybody know?

  • Custom infotype in recruitment

    hi experts as nobody answering my query about pb60 i want to create a custome infotype in recruitment to maintain following data for an applicant and to fetch this data in "invitation for interview" in applicant planned activity.  at least suggest me

  • Cannot print PDF using Adobe Reader XI on either laptop and two different printers.

    When attempting to print (as of today) I get two Adobe Reader windows that pop up 1) The document could not be printed. OK 2) There were no pages to be printed OK.  All help is appreciated.

  • Show model properties in visual components

    Hi, My application has a model Track object with some properties like artist, title, album, ... When a track is selected in a table, it's properties are shown in another JPanel composed with JTextField components. For this purpose I have implemented

  • Photoshop from Cloud Not Downloading

    I purchased the Creative Cloud today. All apps dowloaded and installed - except for 1: Photoshop CS6.  It gets about halfway downloading, then says there is an error (-60). Ideas? I need to use this today