Multiple file upload not working in IE10 and IE11

Hi,
As per the UI5 documentation( https://sapui5.hana.ondemand.com/sdk/#test-resources/sap/ui/commons/demokit/FileUploader.html) , UI5 supports multiple file uploading for IE10 and IE11. I set the "multiple: true" flag in the fileuploader example page and the file browser dialog is not allowing to select multiple files. Does UI5 provide multi file upload support for IE10 and IE11 or am i missing anything ?
regards
Raja

Huh?
Your problem makes no sense. The filename is included with the upload so that the server knows what the file was originally called. Are you running the JSP locally and reading the file directly off the hard drive??
I note also that you aren't using a multipart form, which is required to upload a file.
<form action="uploadFile.jsp" method="post" enctype="multipart/form-data">
  <input type="file" name="upload" value="<%= fileName %>" />
</form>You'll need to use the Jakarta Commons FileUpload class to correctly process a form encoded with "multipart/form-data" or getParameter("xxx") will return null. You can also use the older com.oreilly.servlet.MultipartForm or whatever it's called. I'm pretty certain that the Jakarta Commons obsoletes all the COS classes.
Brian

Similar Messages

  • Multiple file upload not working

    Hi, I've created a form with file upload. I've selected 'Allow Multiple Files,' but it still only allows single file selection using the Ctrl key. Any suggestions? Thank you.
    G

    Never mind, I now realize you select one file at a time before submitting.

  • File Upload not working in Firefox?

    I'm trying to do a file upload in firefox over ssl and it
    doesn't work. It works in IE... Anyone know a work around or a
    solution?

    I am facing the same problem.
    Has anyone any solution on this.
    Thanks

  • File Upload Not Work

    I have installed the File Upload sample in a Windows 2000 machine with 6i Form Server. When I start the web browser in the machine with the 6i Form Server, I can upload the file without problem. But when I start the web browser in another PC and accessing the 6i Form Server, the file seems uploaded but with 0 byte!!! Besides, the web browser in the PC hangs up.
    Please advise what is the most likely cause of the problem, thanks.
    SK

    I have several applications using the "multiple upload" behavior with clients on IE7 and flash player 9. Out 8 I only had same problem with one., even though they were created off the same base structure. The solution I found was as simple as it is mysterious.
    "Is the file you have this behavior located within the same directory as the "includes" folder or within another directory? "
    Let's say the directory of the includes folder is:
    root/public_html/includes
    and your page with the behavior is:
    root/public_html/folder/multiUpload.php
    For some reason and not on all sites if the file with the behavior is not in the same directory as the includes folder then the behavior you described occurs. The solution I came up with is to make a folder in the directory named "includes" and copy the "tng" into the folder on the same level as the file with the behavior.
    root/public_html/folder/includes
    root/public_html/folder/multiUpload.php
    Hope this works for you, it took me the better part of a week to figure this out, not sure why it works, I suspect a setting within ADDT was corrupted. Like I said before most of my clients don't have this problem even though they all use the same files (as in copies).
    Hope this helps
    M

  • Multiple Image Upload not working on macs

    Hello everybody,
    I have searched everywhere for an answer to this issue and I'm not sure if there is a solution yet.
    I am hoping someone reads this and tells me if either I need to use another product or post a fix for this to work.
    I am developing a website for a photographer who needs to upload the pictures he takes for his clients to review on his website.
    So on the backend I have created an application where he logs in and creates a new client and then uploads multiple images to that client's folder.
    I am of course developing the site in ADDT version 1.0.1. in Dreamweaver CS4.
    Everything works as expected except for the image upload part, where he is unable to upload even a single image.
    He is using Mac OS X and Safari 3 to access his site.
    I use a PC and can upload images perfectly, but the whole purpose of the website is for him to be able to upload images without me.
    I read somewhere that ADDT's Multiple Image upload did not work on Macs because of the way that the OS handles image uploads to the server via HTTP. I also know that Flash v.10 had an issue with this behaviour in the past, but that it's been fixed with ADDT's v. 1.0.1, which is true since as I said I am able to upload images from my PC using that Flash version.
    There is a product called MultiPowUpload from Element-IT (http://www.element-it.com/MultiPowUpload.aspx) that seems to do the exact same thing as ADDT's Multiple Image Upload, and I have tested the Demo version both on Mac and PC and works perfectly well.
    I really would like my ADDT behaviour to work, first because I already have the whole site developed in it, plus I am used to the software already, and also because Element-IT's product is a bit pricey for a multiple server license (which I would need for other sites I plan to develop for Mac users).
    Any thoughts or pointers you might have will be greatly appreciated.
    Thank you in advance.
    Luis Herrero.

    Thanks a lot for your replies and helpful ideas.
    It turns out that for some strange reason the problem was with the hosting provider.
    I have moved another site which was not working with Macs either to a new provider and everything works now as it should be, without changing any files at all.
    I have in fact v.1.0.1 in both those sites (those were the first things I checked before posting here) and Flash Player v. 10 both on the Mac and PC, so it will remain a mystery as to why the server behavior did not work with that particular host on Macs.
    Thanks again.
    Best regards.

  • File upload not working in mozilla

    I am using a input tag to upload a file.
    <input type="file" name="certFile" size="20" value="<%=certFile%>">
    This creates a file chooser with a text field and browse button.
    The upload works for IE but not for mozilla firefox ( These are the only two browsers I've tested this with ). The mozilla browser does not return the full file path, just the single name and extention of the file, so I'm getting a file not found error. But in I.E., the full path is returned and the file can be uploaded sucessfully.
    I've seen a few posts of similar problems, but none of them seem to have been resolved.
    Does anyone have any idea why mozilla is handling these file choosers differently and/or what I can do to possibly fix this problem?

    Huh?
    Your problem makes no sense. The filename is included with the upload so that the server knows what the file was originally called. Are you running the JSP locally and reading the file directly off the hard drive??
    I note also that you aren't using a multipart form, which is required to upload a file.
    <form action="uploadFile.jsp" method="post" enctype="multipart/form-data">
      <input type="file" name="upload" value="<%= fileName %>" />
    </form>You'll need to use the Jakarta Commons FileUpload class to correctly process a form encoded with "multipart/form-data" or getParameter("xxx") will return null. You can also use the older com.oreilly.servlet.MultipartForm or whatever it's called. I'm pretty certain that the Jakarta Commons obsoletes all the COS classes.
    Brian

  • File upload not working on Mac OSX

    I've tried several of the Flex file upload components, in all
    cases they don't work correctly when used on a Mac. I've tested
    both flash player 9 and the latest 10 release. The file uploads to
    the server, but the progress bar doesn't update and the upload
    complete event never fires. To the end user, it looks like the app
    isn't doing anything at all!
    Any advice on how to get this working? If you know of any
    file upload components that are already tested and working on the
    Mac version of flash - that would be a great help as well!
    Thanks!

    If you Google it you will find that this is a known issue, it surprised me since I spent days looking at my code.
    I found possible solutions here, but none worked for me it seems that it worked for many other people.
    http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is- not-fired-on-mac-os/
    Hope Mac and Adobe will have lunch one day and figure it out.
    Ben

  • 9i File Upload not working on remote machine

    Hi.
    The 9i File Upload demo utility is working fine when I invoke it locally on the same machine.
    Remotely, however, I just get a grey blank screen in the browser with the message "Applet initialized" in the status bar. The java console says that the two JAR files were downloaded successfully, and doesn't show any other error.
    When I imported the cert on the client, the expiry date had already passed (sometime in 2002). I have generated a new cert, resigned the JAR file and installed it in the correct directory. Again, the upload works fine locally, but not remotely.
    Has anyone any idea what could be wrong? I'd be very grateful for any assistance. For info, we're using 9iDS 9.0.2.1.
    Thanks,
    Peter

    Please ignore my previous message.
    I rebooted the client and it now seems to work fine.
    Thanks anyway,
    Peter

  • File upload not working

    Hi,
    I am trying to implement a file upload following the how-to.
    But when I am trying to use the file browse item, the process of uploading stops - only the www_flow.accept sreen shows....sometime reload helps.
    I've tried Firefox and IE....
    Working locally on the server has the same result...
    Any idea / suggestions?
    Thanks in advance!
    Alex

    Addendum:
    IE 6.0 has after reload the following error code:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7621 Could not determine workspace for application (:) on application accept.
    OK
    Alex

  • Process Multiple Files is not working correctly

    When using Process Multiple Files to resize several images, the resulting files are way too small.  I am resizing to 12"x8" at 150dpi which used to result in about a 2 meg file.  Now the files are about 200k.  Something has changes and I can't find it. Help!

    Hi,
    I don't have access to my ECC 6 system right now, I would check 2 things:
    1) it is possible that the BAdI definition class (for classic BAdIs, it is usually CL_EX_BATCH_MASTER) has been changed manually by SAP, and they removed the LOOP, or have added an EXIT right before the ENDLOOP. I know they sometimes do it.
    2) I would check if the BATCH_MASTER classic BAdI has been migrated to new BAdI, in that case I think you should migrate your BAdI implementations
    3) Just to be sure: if an implementation raises an exception, that's normal that the other implementations are not executed.
    BR
    Sandra

  • Hp 6700 option to scan to single file or multiple files does not work-scans to single files only

    Cannot find a way  to scan multiple documents to a single file.  The option on the Scan function does not work!

    Hi @apdamw 
    Have you tried saving the scanned pages as a PDF? When you choose PDF in the format option, you will see the option to choose save all pages to a single file, or create a seperate file for each scanned page. Depending on what option you see, you will need to tick or untick the option.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • File Upload not working in table popin

    Hi experts,
    im using file upload in the table popin, when i click the browse button, its not opening the file-open dialog.
    please help me.
    regards,
    James

    I am facing the same problem.
    Has anyone any solution on this.
    Thanks

  • File Uploads not working

    It looks as though the upload is happening--you can see the
    icon in the bottom right doing it's thing--but after the upload is
    complete, the files never appear in the My Files area.

    I'm having the same issue, in Firefox 3. When I click the
    upload button, the animation closes the Browse (for files) section,
    and the little spinning wheel in the bottom right starts going.
    But, no files. This has been going on for weeks. I've never
    successfully uploaded a single file. No problem uploading the same
    files to Screencast.
    Also, Acrobat.com won't give me anything more than a blank
    black screen in Internet Explorer 7, using Vista. I'm not
    connecting via proxy in either browser.

  • File Upload not working in firefox with flash p-layer 9

    hi,
          I've a web application  with a component to upload file.The upload operation is working fine in IE.But when using firefox with player 9,its asking for the proxy authentication again and the firefox will get stuck.
    With player 10 ,its working without any problem.
    Can anybody help me.
    Thanks

    Could you be experiencing the following bug?
    http://bugs.adobe.com/jira/browse/FP-201

  • Struts file upload not working

    When trying to upload a file from local file system, I get the following error. The file is small and I want to keep in memory (store in array). --
    java.security.AccessControlException: access denied (java.io.FilePermission C:\Sun\AppServer7\domains\domain1\server1\generated\jsp\j2ee-modules\sve\upload_00000001.tmp delete)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
         at java.security.AccessController.checkPermission(AccessController.java:401)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
         at java.lang.SecurityManager.checkDelete(SecurityManager.java:982)
         at java.io.File.deleteOnExit(File.java:879)
         at org.apache.commons.fileupload.DefaultFileItem.getTempFile(DefaultFileItem.java:620)
         at org.apache.commons.fileupload.DefaultFileItem.getOutputStream(DefaultFileItem.java:557)
         at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:391)
         at org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(CommonsMultipartRequestHandler.java:233)
         at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1209)
         at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
         at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    Action Class
    package com.acs.sve.actions;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.upload.FormFile;
    import org.apache.log4j.Logger;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import com.acs.sve.helper.*;
    import com.acs.sve.forms.UploadForm;
    import java.io.*;
    public class UploadAction extends Action
    Logger log = Logger.getLogger("UploadAction.class");
    public ActionForward execute(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception {
    log.info("In UploadAction");
    String fileName = null;
    int fileSize = 0;
    String rb = null;
    String contentType = null;
    InputStream stream = null;
    FormFile f;
    ClearBean cb = new ClearBean();
    cb.ClearArrays(request, response);
    DataBean db = (DataBean) request.getSession().getAttribute("db");
         UploadForm uploadForm = (UploadForm) form;
    for (int i = 0; i < 5; i++ ){
    log.info("\nint value = " + i);
    f = getNextFile(i, uploadForm);
    rb = getNextRadioButton(i, uploadForm);
    log.info("radiobutton = " + rb);
    fileName = f.getFileName();
    log.info("filename =: " + fileName );
    fileSize = f.getFileSize();
    log.info("file size =: " + fileSize );
    contentType = f.getContentType();
    log.info("content type = : " + contentType );
    if(!fileName.trim().equalsIgnoreCase("") && (f.getFileSize() > 0)){
    try{
    StringBuffer strbuf = new StringBuffer();
    log.info("trying upload");
         stream = f.getInputStream();
         int bytesRead = 0;
                   while((bytesRead = stream.read()) > 0){
    char s = (((char)bytesRead));
    if (s != '\n' && s != '\r'){
    strbuf.append((char)bytesRead);
                   stream.close();
    db.setFileName(i, fileName);
    db.addInpFiles(i,strbuf.toString());
    log.info("\nFile\n" + strbuf.toString());
    db.addButtonType(i,rb);
              }catch(FileNotFoundException fnfe){
    log.info("File Not Found Exception " + fileName);
              }catch(IOException ioe){
    log.info("IOException uploading " + fileName);
    request.getSession().setAttribute("db",db);
    log.info("db added back to session");
    FileWrapper fw = new FileWrapper();
    fw.buildWrapper(request, response);
    log.info("File Wrapper completed");
    log.info("Ready to submit files");
    FileSubmit fs = new FileSubmit();
    fs.submitFile(request, response);
    return (mapping.findForward(Constants.UPLOAD_SUCCESS));
    public FormFile getNextFile(int x, UploadForm uploadForm){
    FormFile g = null;
    switch(x){
    case 0: g = uploadForm.getTheFile1();
    break;
    case 1: g = uploadForm.getTheFile2();
    break;
    case 2: g = uploadForm.getTheFile3();
    break;
    case 3: g = uploadForm.getTheFile4();
    break;
    case 4: g = uploadForm.getTheFile5();
    break;
    default:
    break;
    return g;
    public String getNextRadioButton(int x, UploadForm uploadForm){
    String r = null;
    switch(x){
    case 0: r = uploadForm.getRadioButton1();
    break;
    case 1: r = uploadForm.getRadioButton2();
    break;
    case 2: r = uploadForm.getRadioButton3();
    break;
    case 3: r = uploadForm.getRadioButton4();
    break;
    case 4: r = uploadForm.getRadioButton5();
    break;
    default:
    break;
    return r;
    Action Form
    package com.acs.sve.forms;
    import org.apache.struts.action.*;
    import org.apache.struts.upload.FormFile;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.upload.FormFile;
    import org.apache.struts.upload.MultipartRequestHandler;
    import javax.servlet.http.HttpServletRequest;
    public final class UploadForm extends ActionForm {
    public static final String ERROR_PROPERTY_MAX_LENGTH_EXCEEDED = "com.acs.upload.MaxLengthExceeded";
    private FormFile theFile1 = null;
    private FormFile theFile2 = null;
    private FormFile theFile3 = null;
    private FormFile theFile4 = null;
    private FormFile theFile5 = null;
    private String radioButton1 = "test";
    private String radioButton2 = "test";
    private String radioButton3 = "test";
    private String radioButton4 = "test";
    private String radioButton5 = "test";
         public FormFile getTheFile1(){
              return theFile1;
    public void setTheFile1(FormFile theFile1){
              this.theFile1 = theFile1;
    public FormFile getTheFile2(){
              return theFile2;
    public void setTheFile2(FormFile theFile2){
              this.theFile2 = theFile2;
    public FormFile getTheFile3(){
              return theFile3;
    public void setTheFile3(FormFile theFile3){
              this.theFile3 = theFile3;
    public FormFile getTheFile4(){
              return theFile4;
    public void setTheFile4(FormFile theFile4){
              this.theFile4 = theFile4;
    public FormFile getTheFile5(){
              return theFile5;
    public void setTheFile5(FormFile theFile5){
              this.theFile5 = theFile5;
    public void setRadioButton1(String radioButton1){
              this.radioButton1 = radioButton1;
         public String getRadioButton1(){
              return radioButton1;
    public void setRadioButton2(String radioButton2){
              this.radioButton2 = radioButton2;
         public String getRadioButton2(){
              return radioButton2;
    public void setRadioButton3(String radioButton3){
              this.radioButton3 = radioButton3;
         public String getRadioButton3(){
              return radioButton3;
    public void setRadioButton4(String radioButton4){
              this.radioButton4 = radioButton4;
         public String getRadioButton4(){
              return radioButton4;
    public void setRadioButton5(String radioButton5){
    this.radioButton5 = radioButton5;
    public String getRadioButton5(){
    return radioButton5;
         public void reset(ActionMapping mapping, HttpServletRequest request)
              theFile1 = null;
    theFile2 = null;
    theFile3 = null;
    theFile4 = null;
    theFile5 = null;
    this.radioButton1 = "test";
    this.radioButton2 = "test";
    this.radioButton3 = "test";
    this.radioButton4 = "test";
    this.radioButton5 = "test";
         public ActionErrors validate(ActionMapping mapping,
    HttpServletRequest request)
    ActionErrors errors = null;
    //has the maximum length been exceeded?
    Boolean maxLengthExceeded = (Boolean)
    request.getAttribute(MultipartRequestHandler.ATTRIBUTE_MAX_LENGTH_EXCEEDED);
    if ((maxLengthExceeded != null) && (maxLengthExceeded.booleanValue()))
    errors = new ActionErrors();
    errors.add(ERROR_PROPERTY_MAX_LENGTH_EXCEEDED, new ActionError("maxLengthExceeded"));
    return errors;
    Can anyone help me find what I am doing wrong?

    There is an bug in Sun One App Server
    U need to add permission for delete in the server policy file
    please refer to
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4803631

Maybe you are looking for

  • Windows 8.1 Pro & Google Chromecast

    I have recently installed Windows 8.1 Enterprise 64 bit.  I have google chromecast installed on my HDTV and am attempting to set up Windows so that I can cast media to my tv.  Chrome keeps stating no cast devices found, even though the computer recog

  • Does anybody have DRI working with radeon x700/Xorg 7.3 and OSS driver

    I hope this is the right place to ask this question but I'm just trying to figure out if its possible. I am currently running Ubuntu but plan to install Arch. Currently, I have no DRI with my radeon x700. I'm wondering if its possible at all or I sho

  • WD DC  usage - problem

    Hello, I followed the following thread: WebDynpro DC and Usage I have 2 WD DC's DCA and DCB, I want to use the model and the DC of DCA in DCB. "3. At "Used Models" of the component which shall reference the exposed model of DCA, select "Add" and the

  • ...mobileme photo gallery transfer

    is there a w ay to transfer pix on the web gallery of mobileme back to my imac & iphoto i thought i had them on the iphone and when i synced with a new computer there were gone from the phone. i also thought they were backed up on an external, but no

  • Type of synchronization

    How to identify the type of synchronization whether it is Smart or Generic?