Multi-file download possible?

I currently use FileReferenceList for uploading multiple
files at once, and there has been great interest in providing the
opposite - so a user selects multiple files on the website, clicks
'download', and all files are delivered to the chosen folder on the
user's local machine.
We currently achieve this with zip but it would be amazing to
have them downloading individually, all at once, and only having
the select the download destination once.
Possible?

Hi,
multiple file downloads may be easier to accomplish because you would use a Servlet for this that then streams the content in a loop.
Te file upload only operates one file per component, which means that you would have to use multiple inputFile components with individual managed bean methods.
Haven't read about any other solution here on this forum
Frank

Similar Messages

  • I always get the following error msg when trying to update add-ons "Invalid file hash (possible download corruption) -261"

    I get the following error msg when I try to update add-ons ...
    ErrorFirefox could not install the file at
    http://releases.mozilla.org/pub/mozilla.org/addons/1865/adblock_plus-1.2.2-fx+sm+tb+fn.xpi
    because: Invalid file hash (possible download corruption)
    -261
    Why, and is there a solution. Im fully patched on osx.
    + Fredrik

    * "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    You can also try to enable third-party cookies<br />
    Firefox > Preferences > Privacy > Cookies: [X] "Accept third-party cookies"
    See [[Disabling third party cookies]] (you need to enable)

  • Filename on file download from jsp

     

    This may help:
              ----- Original Message -----
              From: "Erik Lindquist" <[email protected]>
              Newsgroups: weblogic.developer.interest.jsp
              Sent: Wednesday, June 28, 2000 6:20 PM
              Subject: How to dynamically display images in JSPs
              > This took a little while to figure out so I thought I'd share. After
              > doing some research I was led to the following approach on how to load
              > images from an Oracle database into a JSP:
              >
              > The "main" JSP:
              >
              > <HTML>
              > <head>
              > <title>Image Test</title>
              > </head>
              > <body>
              > <center>
              > hello
              > <P>
              > <img border=0 src="getImage.jsp?filename=2cents.GIF">
              > <P>
              > <img border=0 src="getImage.jsp?filename=dollar.gif">
              > <P>
              > world
              > </body>
              > </HTML>
              >
              >
              > And this is the image getter:
              >
              > <% try {
              > response.setContentType("image/gif");
              > String filename = (String) request.getParameter("filename");
              > java.sql.Connection conn =
              > java.sql.DriverManager.getConnection("jdbc:weblogic:pool:orapool"); //
              > connect to db
              > java.sql.Statement stmt = conn.createStatement();
              > String sql = "select image from testimage where filename = '" +
              > filename + "'";
              > java.sql.ResultSet rs = stmt.executeQuery(sql);
              > if (rs.next()) {
              > byte [] image = rs.getBytes(1);
              > java.io.OutputStream os = response.getOutputStream();
              > os.write(image);
              > os.flush();
              > os.close();
              > }
              > conn.close();
              > }
              > catch (Exception x) { System.out.println(x); }
              > %>
              >
              >
              > The thing to note is that there are no <%@ page import="..." %> or <%@
              > page contentType="..." %> tags - just the single scriptlet. It
              > seems that for every "<%@" the weblogic compiler sees it puts
              > out.print("\r\n"); statements in the generated java source.(???) I
              > don't know much about how browsers work but I think that once it sees
              > flat ascii come at it it treats everything that follows as text/plain
              > which is incorrect for the binary stream that's being sent. Another
              > work around was to set out = null; but that's kind of ugly and might
              > produce server errors. The real fix is to write a bean to handle images
              > which I'll work on next (does anybody have any hints on how to do
              > that?)
              Cameron Purdy
              [email protected]
              http://www.tangosol.com
              WebLogic Consulting Available
              "Ramesh" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi,
              >
              > Even I could download the files with this technique, I couldn't open the
              file downloaded. It seems the file is getting currepted during tranfer.. Can
              u help me in this regard please?
              >
              > Thank u
              > Ramesh
              >
              > [email protected] (Anders B. Jensen) wrote:
              > >In an Web-application written in Java Server Pages it should be possible
              > >for the user to download data from the web-server. The data will never
              > >exist as a file on the web-server, only in the PrintWriter object, out.
              > >To force the Internet Explorer (IE) to show the download dialog window
              > >the Contenttype of the HTTP-header have been set to "html/transfer". The
              > >question is:
              > >
              > >Is it possible to set the filename appearing in the download dialog
              > >appearing on the client?
              > >
              > >
              > >Below is a listing of the source-code:
              > >
              > ><%@ page extends="com.beasys.portal.admin.PortalJspBase"%>
              > ><jsp:useBean id="download" scope="session" class="dk.lec.DownloadData" />
              > >
              > ><%
              > > String tmpstr;
              > > response.setContentType("html/transfer");
              > > out.clear();
              > > tmpstr=download.getStrbuffer().toString();
              > > out.println(tmpstr.trim());
              > >%>
              > >
              > >
              > >Anders B. Jensen
              > >Consultant, Research & Development
              > >LEC AS
              > >
              > >Remove the SPAMLESS to mail me.
              >
              

  • File downloads not working in Pepper-Flash beta 11.8.800.115 (chrome)

    Pepper-Flash Beta version 11.8.800.115 was auto-installed in latest Chrome update (29.0.1547.57 m).  This flash version does not display save/open dialog when clicking on a link that opens a file via flash.net.navigateToURL(request, "_self").  Request is an http get that calls a servlet that responds with a binary stream.

    The follow are two separate workarounds that we used.  We initially used the first workaround below until figuring out #2.
    (1) Use the download function on a flash.net.FileReference object.  The flow is not as nice, but works as long as the download occurs as part of a user initiated event, such as a button click.  We added a switch so that this workaround was only used if the browser was Chrome, so that IE and Firefox kept the same flow.
    (2) Embed a hidden frame in your html and make an ExternalInterface call similar to the following to target the download to it.  We also have an exit page prompt, but targeting a hidden frame does not affect it:
    ExternalInterface.call("downloadFileToHiddenFrame", url);
    Javascript function...
    function downloadFileToHiddenFrame(locationRef) {
        top.frames["myhiddenframename"].location.href = locationRef;
    One note, we always use application/octet-stream as the mime type for downloads to avoid the possibility of the file actually rendering in the hidden frame.  After implementing #2 above, file downloads in Chrome now flow exactly the same as before the pepper flash issue surfaced.
    Hope this helps.

  • Bug in Multi-File Search and Replace in RH6?

    I'm using the 6.0 trial, and one thing I want to be able to
    do is to replace the variables I put in using JavaScript with the
    new feature variables in 6.0. So, I went in to multi-file search
    and replace, and searched for:
    <script
    language=JavaScript>document.write(varProduct)</script>
    I copied this code directly from a topic, and pasted it into
    the Search tool.
    I don't even care whether I can successfully copy the code
    from my new variable for use as the replacement text; I'd be happy
    if the multi-file search would simply find all occurrences of my
    original code so I don't miss any during conversion to 6.0.
    It keeps coming up as not found, and this concerns me
    greatly. Has anyone else experienced this? Is it a known bug? Does
    anyone have a workaround?
    Thanks!

    Hi robowriter
    I'm assuming you are using the wondrous little applet known
    as Multi-File Find and Replace.
    Unfortunately, this little beastie is like a cat. It
    frequently has a fussy tummy and loves to hork up furballs. Well,
    not exactly. Really what it does is fail to properly handle
    anything with a line break. So you need a tool that does do this.
    Fortunately, one exists! It is called FAR (Find And Replace). Oddly
    enough, it was also written by a fellow Microsoft Help MVP named
    Rob Chandler. (Rob lives in Australia)
    You can download a trial version of FAR from the FAR page.
    Click here to visit
    the FAR page
    Cheers... Rick

  • I am using Windows XP SP3, I have problem with file download while resuming downlod giving error "file...could not be saved, because the source file could not be read." Please help me

    I am using Fire Fox 5 beta version. After pausing the long file download, when I press the Resume download button the above message appear each time asking "Contact to Administrator". This problem was not with Fire Fox version 3 and above. Please Help Immediately. Thanks in advance...

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    * http://kb.mozillazine.org/Unable_to_save_or_download_files

  • Help required for file to Multi file Blog

    Hi,
    I'm working with following blog for file to multi file scenario...
    "/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    But in Configuration part, I'm unable to find ..TITLE_IDTYPE option for RB_SPLIT.. Screen, there is only two options are available one is Standard and another one is Extended ???!!!
    Note : we are using SP16
    So,  How can I go ahead to complete this scenario ??!!!
    Can anybody help me out to complete this file to mulfile scenario without BPM.
    Thanks.,
    Esha

    Hi Esha,
    the names seem to have changed since SP14 (the version of this blog entry).
    I did a multi-mapping with SP15 once, using "Extended".
    Kind regards,
    Dennis

  • Can a Quicktime file download from clickable link?

    Quicktime file download to desktop from clickable link?
    I have large movies that I want to make available for direct download to the desktop so people will click download and do something else.
    It is my understanding that you can't provide a quicktime file for download to a desktop because there are PC/MAC and browser issues across platform. But maybe I'm wrong.
    Is it possible to make a web page that allows users to download higher file size videos from a clickable link? The quicktimes are h.264 in SD + HD around 50-100 megs. The files will be so large people won't want to wait so I want it to go directly to the desktop.
    So far I can only find a few similar options
    1) Embed the file in a web page. Provide a download link after the movie loads.
    (This option requires you to load the file into the page. Users may not wait and close it)
    2) Provide a zip file. This allows you to create a clickable link to the zip which begins downloading upon clicking. You then unzip the file. (Some less computer savvy people may get confused by the zip)
    3) Put a raw file on server. This will play the movie in a blank window but can also be right clicked for direct download.

    Welcome to the discussions, jessestudio.
    I've seen a few sites that have a link to the video with instructions to "Right-click to download". Essentially, it's option three with instructions. It seems to be a fairly common way of handling it. (Even for non-QuickTime movies)

  • Drop-down Menu to Open URL for File Download

    I am using Adobe Captivate 5.5 and was wondering if it is possible to create a drop-down menu that can be used to open different URLs for file downloads, kind of like the Attachments button Presenter has. Captivate seems to have a dropdown widget available but I can't tell if this would work for this purpose.

    Hi Theo
    You can use any composition to create a menu with setting for show target on rollover and then link targets to specific pages.
    Adobe Muse CC 7.0 Tutorial | Beautiful Graphic Navigation - YouTube
    Thanks,
    Sanjit

  • KM Document iView for file download - filename

    Hello,
    we have a hyperlink on our portal logon page for downloading a word document. This link points to a KM document iView. The iView has the property "Path to Document" set to the document in the KM.
    By clicking the link, a file download pop-up appears. But the filename of the downloadable file is the path of the iView - and not the real name of the document.
    Is there any possibility to get the real name as name for the downloadable file? Or should we use another iView?
    Any hint is appreciated!
    Best regards,
    Matthias

    Sorry Tom!
    Your problem seems to be different, I've no idea.
    But we already fixed our problem, I forgot to post. Here's our solution:
    The solution was to create a KM Docs iView with anonymous authentication schema pointing to the download file. Then we created an URL iView pointing to this KM Doc with appending the filename AGAIN to the URL (because otherwise the iView ID will appear as filename). In the page a hyperlink now is pointing to the URL iView and after clicking it, the download starts with the correct filename.

  • Jar Files download Slow in IE but not FireFox

    We have an application (PTC Windchill) that uses jar files within the application. These jar files contain our customizations and get downloaded to the users when they require certain functionality within the application. Each time we update our build (update the customizations) new jar files are required to be downloaded to the client. Recently, we have seen an increase in the number of clients that the downloads take an extremely long time. The jar files add up to about 70mb and on a machine that we consider to be working correctly, this takes less than a minute. On some machines, it takes as long as 20 minutes. We are unable to determine what the difference is between computers (both have the same version of JRE, OS, IE and updates etc.). What is interesting, is the files download quickly on FireFox, every time on every machine. We initially thought this was an IE issue, but we can't pin point it. Also, the files transfer fine through the OS so we don't believe it is network or NIC related. This started out as just a few computers but seems to be growing. We have found upgrading to Apache 2.x.x from 1.3.27 fixes the problem, but breaks something else in our application, therefor is not a solution. This would appear to be an IE and Apache compatibility issue, but why it works with some clients and not others, puzzles us. I was hoping someone out there may have some ideas of what the issue is. It is probably something simple, but not simple to find. Any help is much appreaciated.
    Thanks,

    It's probably an IE problem.
    The installed JREs on the client machines have no relationship with downloading via a browser.
    It works fine with firefox because this latter is an open source and frequently upgraded. There are lot of firefox plugins and extensions for downloading tasks: https://addons.mozilla.org/en-US/firefox/search?q=download&status=Array
    You can allocate more resources for your server and use a multi-thread donwload servlets but it will not resolve the problems of the client side IE browser.

  • File download element in confirmation dialog box

    Hi,
    Can I use File Download elements in Confirmation Dialog Box?Please raply me as early as possible.
    Regards
    Aniruddha

    Hi
    You can not use  File-Upload UI element inside confirmation dialog ,because there is no provision to add any UI ,except Button.
    Please avoid  my previous reply .
    Best Regards
    Satish Kumar
    Edited by: satish jhariya on Mar 3, 2009 11:29 AM

  • File Download box appears despite content being text/html .....

    Hi
    I am supporting a set of web pages which display data to the user based on XML transformed by a set of style sheets. Currently when the user does something and fires the doPost method we get the "File Download" box appear with the message "Some files can harm your computer .................... ". The downloaded file is just the HTML used to display info to the user (with the appropriate embedded stuff from the stylesheet)
    I was under the impression that this dialogue box only appears when the content type is not understood by the browser. However, the content type is text/html ... so i am a bit stumped.
    can anyone suggest other ways in which this message can appear?
    cheers
    chris

    Just on the off chance anyone else ever has this problem and fins this post ( the problem was solved a long time and i forgot to update the post).
    The application in question attempts to log into a database via OC4J. The connection information in the data-sources.xml file was incorrect (specifically the database listener port). This was generating some bizarre exception which was propogated up and resulted in the above behaviour. I suspect that you could get the same effect thogh for many other reasons, so if you are having this problem i wouldnt get too hung up on this as a possible cause,.

  • File downloads not working most of the time

    [I originally included this problem in another post; I should know better. I'm posting it separately here in hopes of getting some feedback about this other issue I'm having.]
    When I click on a link on a Web page to download a file (maybe the latest version of Firefox), the Save dialog that appears almost always displays the file name without the extension. For example, I just tried downloading the Firefox installer. Instead of displaying the name as "Firefox Setup 13.0.1.exe", it displayed "Firefox Setup 13.0.1". The file type is listed as "binary file". Every once in a while (maybe one in ten tries), if I quit and relaunch Firefox, immediately return to the download page, and click the file link again, the file name and file type will appear correctly. Almost always, I have to resort to using some other browser to download the file.
    I've tried deleting the browser cache; resetting Firefox from the about:support page; installing a new copy by downloading the installer file from the Mozilla site. None of this has helped.
    The thing that mystifies me the most is the fact that, maybe 10% of the time, the file download succeeds. This (the file download succeeding) seems to happen only immediately after I launch the browser.
    Any ideas?
    --Larry

    Thanks for the suggestion. I followed the instructions and deleted the MimeTypes.rdf file, then relaunched Firefox. Unfortunately, nothing changed.
    I did notice something strange and possibly informative, however: When I tried to download the Firefox installer, the file once again failed to download. The Downloads window that pops up when I download a file gave the full file name, including the ".exe", and displayed "Canceled - mozilla.net". It appears that the file type isn't lost after all, but the download is canceled.
    Any idea what could cause this?
    --Larry

  • Re: File download

    Hi
    This is muthu, I have face one problem
    Currently i am working in file downloading,
    i had completed this task, but i need one urgent help
    During file downloading, IE asked
    three option open/save/cancel with file download dialog box
    How can i remove the file download dialog box
    My requirment is when the user click the submit button,
    it will automatically open - save As box and ask the file name
    Whether it is possible,
    I am able to hide the save, cancel and open button
    but i am not able to hide the file download dialog
    box whether it is possible
    here is my code
    res.setHeader("Content-Dispositio- n", "application/msexcel");
    res.setContentType("application/msexcel");
    res.setContentLength(b.length);
    res.setHeader("content-disposition:inline","attachment;name=\""+fileName+"\";filename=\""+fileName);
    res.getOutputStream().write(b);
    res.getOutputStream().flush();
    fileOut.close();
    and my html code is
    <META name="DownloadOptions" content="noOpen">
    could you please help me to solve this problem
    {code}
    Edited by: muthu2007 on Jun 23, 2008 5:23 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi
    This is muthu, I found the solution for my question
    If any body are interested please use this code
    FileOutputStream fileOut = new FileOutputStream(pathx+"\\"+folderName+"\\"+filName+filext);
              synchronized(this)
                   wb.write(fileOut);
              fileOut.close();                    
              FileInputStream fileIn = new FileInputStream(pathx+"\\"+folderName+"\\"+fileName);
              byte b[] = new byte[(int)fileIn.available()];
              try
                   fileIn.read(b);
              }catch(FileNotFoundException ee)
                   ee.printStackTrace();
              res.getOutputStream().write(b);
              res.getOutputStream().println("<script language = \"javascript\" src = \""+pathx+"/theme/filedialog.js\"></script>");
              res.getOutputStream().println("<body onload =\"test('"+filName+"')\"></body>");
    and my java script is
    function test(s) {
    //alert("called"+s);
    s = s+'.xls';
    document.execCommand('SaveAs','1',s);
    return false;
    }

Maybe you are looking for

  • Passing Session Values to the Tabular Form Element of a Report Column

    Hello, I'm running application express version 2.0 with a 10.2.0.2.0 database on a 32 bit windows box. I'm trying to figure out sneaky a way to pass the &APP_PAGE_ID., #APP_PAGE_ID# or V('APP_PAGE_ID'); as an element attribute of a Report Tabular For

  • Can't insert jpg or pdf files as object in ppt (icon)

    I'm trying to insert jpg or pdf files into a powerpoint. I recieved these files via email from PC users. The are saved on my Powerbook in jpg and pdf formats. When I try to insert them into a powerpoint presentation as objects (icon) I keep getting t

  • WinSAT.EXE corrupt file

    Has anyone seen this? How important is this? How can I address this? When running the system assessment the following warnning appears... WinSat.exe - corrupt file The file or directory C:\Windows\System32\config\SOFTWARE.LOG1 is corrupt and unreadab

  • Error during Business Content Installation of a query

    Hi, I was trying to install the Standard query(0IC_C03_Q0019) only its query elements and not infocube from Business content and after install(Simulation mode) it went into an error showing Bex transport request is not available or suitable and Error

  • Nokia c3-00 cannot connect to internet after resto...

    after restoring, my phone change, the theme become gray, the communities, ovi store and other features gone. also in the internet other function gone like goto address, the only remain is the home,browser and web services, they are useless coz they c