Download File issue

Hi all,
I am having a big problem.
I'm using Tomcat 4.29 and IE 6.0.280, and I was not able to run the following servlet code:
     public void doPost(
          HttpServletRequest request,
          HttpServletResponse response)
          throws ServletException, IOException {
          String originalFileName = "c:\\temp\\classes12.zip";
          int size = 0;
          String filename = "c:\\temp\\classes12.zip";
          File target = new File(filename);
          OutputStream out = response.getOutputStream();
          response.setContentType("application/unknow");
          response.setHeader(
               "Content-Disposition",
               "attachment; filename=" + originalFileName + ";");
          response.setHeader("Cache-Control", "no-cache");
          byte[] buffer = new byte[4 * 1024];
          FileInputStream in = new FileInputStream(target);
          while ((size = in.read(buffer, 0, buffer.length)) != -1) {
               out.write(buffer, 0, size);
          in.close();
          out.close();
I have apparently two problems:
1 - The file name prompted to be saved is not the one I suggested in the code above. Instead of it, I got the URL address.
2 - The other problem is the fact that the Explorer says it's not able to open my url, and do not save the file.
I tried everything, including to send fixed data but nothing seems to work.
http://5.8.14.81/CadastroProposta/download
This is my url as I configured in the web.xml, and this is working fine...I can even depurate the program inside Eclipse, and go up to the last line without problem or exception. I also tried to change the application/unknow to application/octet-stream, application/x-donwload and the result was the same.
Please, if somebody has a tip, let me know what is wrong with this example.
Best Regards,
Claudemiro Pacheco
EDS Brazil

Also!!!
'If you don't explicitly set the character set in your MIME media type, with setContentType, one will be selected and the content type will be modified accordingly. If you will be using a writer, and want to call the setContentType method, you must do so before calling the getWriter method. If you will be using the output stream, and want to call setContentType, you must do so before using the output stream to write the MIME body. '
this was taken from http://java.sun.com/products/servlet/2.1/api/javax.servlet.ServletResponse.html

Similar Messages

  • Photoshop CS5 Optional Plugins downloaded file issue

    I am trying to download the Photoshop CS5 Optional Plugins from the following Adobe website http://www.adobe.com/support/downloads/detail.jsp?ftpID=4688. 
    I'm using IE9 as my browser and opting to save the file to my desktop. 
    The downloaded file appears as follows on my desktop - PSCS5OptionalPlugins_Win_en_US.zip.av6ac0u  - whiich I'm unable to unzip and use.  I am able to download other plug ins from the Adobe site.  Is there an alternate page for downloading these files or some "trick" to downloading these particular plugins? 
    Thank you. 
    AnnJ

    Noel Carboni wrote:
    …typing all my program names into the search box to run them, but I just like to use the mouse…
    I'm a huge fan of the mouse myself, Noel.  As a matter of fact that's what instantly drew me to the Lisa and the Mac initially, at a time when PCs were still at the command-line stage of MS-DOS and PC users were mocking and deriding menus and the mouse. 
    To this day I much prefer to do anything that can be done with the mouse and/or menus without having to clutter what's left of my withered brain with the learning of commands and key combos, and my considerably handicapped hands make me a lousy typist on account of arthritis and neuropathy anyway.
    But aliases ("shortcuts") on the desktop are not necessary to launch applications or open documents.  That's what The Dock is for on the Mac, which, as you can see in my screen shot above, I keep hidden below the bottom of the screen with all its icons until I bring my cursor down to hover over that area when I need it.
    And I have double the logos you do. 
    Hehehe…   I have plenty of those in reserve.    We don't want to clutter this thread with more images than necessary. 

  • WebLogic Issue: Unable to download files more than 32 KB

    Hi all,
    When i am trying to download files which are having size more than 32 KB, i am getting the error " [WRITE_ERROR_TO_SERVER] (POST timed out to the server <IPAddress>:7006) raised at line 152 of ap_proxy.cpp
    Uploading is working fine and able to download files having size less thann 32 KB.
    The following is an excerpt from plug-in log file. I dont see any errors in the web logic logs.
    Tue Oct 09 12:52:50 2012 <241281349767069126> Remote Host <IPAddress> Remote Port 7006
    Tue Oct 09 12:52:50 2012 <241281349767069126> general list: created a new connection to '<IPAddress>'/7006 for '/metricstream/systemi/NewdownloadSingle?db_value=IIS7_WL10x_EGRCP6.x_ConfigurationGuide.pdf%23ms_attach_delimiter%23HZQS%2FVAL%2FBPCS%2F35606020&id=103771&proc=-1&attach_seq=28&id=103771&proc=-1&attach_seq=28', Local port:3525
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Host]=[<IPAddress>]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Connection]=[keep-alive]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Content-Length]=[113003]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Cache-Control]=[max-age=0]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Origin]=[http://s<IPAddress>]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[User-Agent]=[Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.92 Safari/537.4]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Content-Type]=[multipart/form-data; boundary=----WebKitFormBoundary9MAb9LW1aD3dPAXm]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Referer]=[http://simpro344/metricstream/systemi/Fastform?x_v29=157749&emd=4&id=103771&bare=Dmsmanagedocuments&x_v24=MSI_B1_Emp_1&inFlag=Dmsdocsearch&]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Accept-Encoding]=[gzip,deflate,sdch]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Accept-Language]=[en-US,en;q=0.8]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.3]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs from clnt:[Cookie]=[MetricStream=bG9naW49am9obi5sb3Nla2UmZW50ZXJwcmlzZT1NZXRyaWNTdHJlYW0=; ADMINCONSOLESESSION=B6J3QzDK2NLkYj7HhqkpLb5JcVxPFDpjKWkjVnzhthyYZQnJH1p7!-1091718089; JSESSIONID=g0LDQzPLm6y2SWlGpvqp3mnJy2QSyGBT5p1xvy0SqVpq5gBjPWQQ!-1295364380; ys-gadgetpanel1=o%3Acollapsed%3Db%253A1; ys-databrowserpanel1=o%3Acollapsed%3Db%253A1]
    Tue Oct 09 12:52:50 2012 <241281349767069126> URL::sendHeaders(): meth='POST' file='/metricstream/systemi/NewdownloadSingle?db_value=IIS7_WL10x_EGRCP6.x_ConfigurationGuide.pdf%23ms_attach_delimiter%23HZQS%2FVAL%2FBPCS%2F35606020&id=103771&proc=-1&attach_seq=28&id=103771&proc=-1&attach_seq=28' protocol='HTTP/1.1'
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Host]=<IPAddress>]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Content-Length]=[113003]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Cache-Control]=[max-age=0]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Origin]=[http://<IPAddress>]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[User-Agent]=[Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.92 Safari/537.4]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Content-Type]=[multipart/form-data; boundary=----WebKitFormBoundary9MAb9LW1aD3dPAXm]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Referer]=[http://simpro344/metricstream/systemi/Fastform?x_v29=157749&emd=4&id=103771&bare=Dmsmanagedocuments&x_v24=MSI_B1_Emp_1&inFlag=Dmsdocsearch&]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Accept-Encoding]=[gzip,deflate,sdch]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Accept-Language]=[en-US,en;q=0.8]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.3]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Cookie]=[MetricStream=bG9naW49am9obi5sb3Nla2UmZW50ZXJwcmlzZT1NZXRyaWNTdHJlYW0=; ADMINCONSOLESESSION=B6J3QzDK2NLkYj7HhqkpLb5JcVxPFDpjKWkjVnzhthyYZQnJH1p7!-1091718089; JSESSIONID=g0LDQzPLm6y2SWlGpvqp3mnJy2QSyGBT5p1xvy0SqVpq5gBjPWQQ!-1295364380; ys-gadgetpanel1=o%3Acollapsed%3Db%253A1; ys-databrowserpanel1=o%3Acollapsed%3Db%253A1]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Connection]=[Keep-Alive]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[WL-Proxy-SSL]=[false]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[WL-Proxy-Client-IP]=[<IPAddress>]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[Proxy-Client-IP]=[<IPAddress>]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[X-Forwarded-For]=[<IPAddress>]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[30]
    Tue Oct 09 12:52:50 2012 <241281349767069126> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[-1295364380]
    Tue Oct 09 12:53:50 2012 <241281349767069126> URL->write() retValue = [-1], Last error = [10054]
    Tue Oct 09 12:53:50 2012 <241281349767069126> POST timed out to the server <IPAddress>:7006
    Tue Oct 09 12:53:50 2012 <241281349767069126> *******Exception type [WRITE_ERROR_TO_SERVER] (POST timed out to the server <IPAddress>:7006
    ) raised at line 152 of ap_proxy.cpp
    Tue Oct 09 12:53:50 2012 <241281349767069126> error sending headers or Post Data to WebLogic, sys err#: [0] sys errmsg [No error]
    Tue Oct 09 12:53:50 2012 <241281349767069126> Marking <IPAddress>:7006 as bad
    Tue Oct 09 12:53:50 2012 <241281349767069126> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=10054,  line 152 of ap_proxy.cpp]: POST timed out to the server <IPAddress>:7006
    at line 2994
    Tue Oct 09 12:53:50 2012 <241281349767069126> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Tue Oct 09 12:53:50 2012 <241281349767069126> request [metricstream/systemi/NewdownloadSingle?db_value=IIS7_WL10x_EGRCP6.x_ConfigurationGuide.pdf%23ms_attach_delimiter%23HZQS%2FVAL%2FBPCS%2F35606020&id=103771&proc=-1&attach_seq=28&id=103771&proc=-1&attach_seq=28] did NOT process sucessfully..................
    Can some one please help me resolving this issue?
    Thanks in advance.
    Edited by: 970923 on Nov 15, 2012 5:41 PM

    Hi,
    Try to increase chunk size once and check you have issue still persist or not.
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dweblogic.Chunksize=8192 -Dweblogic.utils.io.chunkpoolsize=8192
    Regards,
    Kal

  • Issues in Download File from Server to PC

    Hi Experts,
    i am havin requirement to download a File and show it to user in open/Sava dialog box.
    i have tried both way to achieve this.
    1)  cl_wd_runtime_services 2 File Download Elements
    here is coding for cl_wd_runtime_services
      CONCATENATE 'C:\temp\'
                         stru_ctx_resume-cv_language
                         stru_ctx_resume-cv_type
                         stru_ctx_resume-oprn_role
                         lv_version
                          '.pdf' INTO lv_filename.
            lv_filetype = 'application/pdf'.
            lr_conv_out = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' ).
    Showing Downloaded File to new Window.
            cl_wd_runtime_services=>attach_file_to_response(
              i_filename  = lv_filename
              i_content   = lv_filecontent " Its file Byte Array
              i_mime_type = lv_filetype
              i_in_new_window = abap_false
              i_inplace       = abap_false ).
    Problem Statement: Filedownload is working perfect, the only prolem is that IE give warning message before download, i want to get rid of this warning message so i opted for File Download UI Element.
    2) File Dowload Element:
    i have a file download element in a table collumn, this table is mapped to a node Called CTX_Resume, file download element's data property is mapped to attribute called file_content of type xSTring, this attribute is in node called data which is child node of CTX_Resume.(1:N, Lead Selection True, Singleton True)
    so in summary
    CTX_Resume(Node): Mapped to table
        File_DATA(Sub Node of CTX_Resume): It has Supply methodName: Sup_File_Data
              File_Content(Type Xstring) Mapped to Data property of Filedownload
    Codding at Supply Method is
    METHOD sup_file_data .
    data declaration
      DATA:
        stru_file_data            TYPE wd_this->element_file_data,
        stru_resume           TYPE wd_this->element_ctx_resume,
            lv_filecontent TYPE zall_empprof_file_content,      "#EC NEEDED
            lv_error_text TYPE zall_empprof_error_text,         "#EC NEEDED
    if wd_this->mv_first_time = abap_false.
      CALL METHOD parent_element->get_static_attributes
        IMPORTING
          static_attributes = stru_resume.
      if not stru_resume is INITIAL.
        MOVE stru_resume-cv_version TO lv_version.
      CALL METHOD wd_assist->download_cv
        EXPORTING
          im_doc_id       = stru_resume-doc_id
          im_doc_type     = 'pdf'
          im_doc_version  = stru_resume-cv_version
        IMPORTING
          ex_file_content = lv_filecontent " File Byte Array
          ex_error_text   = lv_error_text.
      IF lv_error_text IS INITIAL.
        move lv_filecontent to stru_file_data-file_content.
      ENDIF.
    else.
      wd_this->mv_first_time = abap_false.
    endif.
      node->bind_structure(
        new_item =  stru_file_data
        set_initial_elements = abap_true ).
    ENDMETHOD.
    Problem Statement: this works perfect only at first time as i cant controll the triggering of Supply method, to get rid of this i want whenever user clicks on File Download Link, it must trigger supply method.
    My table doesnt have selections properites = none.
    hope i have given sufficiant information about the problem,
    please help me....
    Regards
    Manish.
    Edited by: Manish Vijay on Jul 3, 2009 2:28 PM
    Edited by: Manish Vijay on Jul 3, 2009 2:34 PM

    It depends on your browser mime type setting.
    If you donload a doc file for example and the client's browser is set as to open doc files automatically with word application you will not get the save file dialog box.
    Its all dependent on the client machine setting and not on forms.

  • Download file size issue

    Hello, one of the download files for CS6 is DesignWebPremium_CS6_LS16.7z which lists on the download site as being 4.6Gb.
    I have downloaded it twice with no reported errors but the file downloaded is only 489Mb.
    When I try to extract the install files it fails, first I want to check if this .7z file is correct or not as the size certainly doesn't match what the web site says.
    Thanks.

    you're not completing the download.
    check your disk space and if that's ok try dl'g with a different browser.

  • Unable to download file from FileDownload UI Element - Java Web Dynpro

    Hello Experts,
    I am facing a strange issue.Scenario is:
    I created an java web Dynpro application (Please note that it is just a standalone WD app, not integrated in portal) with just one FileUpload UI Element ,one FileDownload UI element and one button (for triggering an action).
    I browse a file (e.g. text,pdf,doc etc.) and click on button. It uploads the file and when I click on download, there are two cases:
         1) Simply click on download does not downloads the file and shows error: "Unable to download <file name> from <server name>.  Unable to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later." Though it is opening the file,showing the content.
         2) I opened that portal URL in a new tab in same session and logged in with a portal user. Now if I click on download link of same WD app opened in different tab of same session, it downloads the file without any error.
    I am using portal 7.0
    Can somebody point what's going wrong with case 1?
    Helpful pointers will be appreciated.
    Thanks,
    Kirtiman

    Hi Sid,
    I did not gave any authentication of WD app as it is anonymous app. There is no parameter set in application properties.
    As I run the app, it is showing the initial screen with UI elemtns and till upload works fine,.It has to be an anonymous app, so cannot ask for credential from user.
    Thanks
    Kirtiman

  • Firefox crashes when I try to open a downloaded file

    Hello!
    Whenever I try to open a file I have just downloaded Firefox stops working. I get a windows 'Firefox has stopped working' error message.
    Steps:
    Download a file
    Blue download arrow icon flashes to indicate that download has completed
    I click the download arrow to open the list of downloaded files
    I click the file I want to open
    Firefox crashes
    I have tried the following:
    - reinstall firefox
    - refresh firefox
    - start firefox in safe mode (still crashes)
    I have also tested in Windows safe mode and do not have the problem there. I believe this indicates that there is another piece of software that is causing the crash but I don't know how to identify which other piece of software it is.
    Firefox doesn't record these crashes in about:crashes so I have no log to share.
    I do have an Error from the Windows event viewer:
    Faulting application name: firefox.exe, version: 35.0.1.5500, time stamp: 0x54c1fdbc
    Faulting module name: ntdll.dll, version: 6.3.9600.17630, time stamp: 0x54b0d74f
    Exception code: 0xc0000374
    Fault offset: 0x000e5994
    Faulting process ID: 0xcbc
    Faulting application start time: 0x01d046499c589612
    Faulting application path: C:\Program Files (x86)\Mozilla Firefox\firefox.exe
    Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
    Report ID: e600231d-b23c-11e4-bea1-90e6bad76e7f
    Faulting package full name:
    Faulting package-relative application ID:
    Any help would be great.

    Does if help if you check the security tab in the properties of the file and remove a possible internet protection?
    Boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps.
    *http://www.bleepingcomputer.com/tutorials/how-to-start-windows-in-safe-mode/
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • Dreamweaver 4 no longer working after downloading files created with MX

    I downloaded files that were created with Dreamweaver MX to
    my pc in order to update them for a new client. I've been using
    Dreamweaver 4 and now I cannot even open Dreamweaver 4. Luckily I
    also have Dreamweaver 8 installed and can view all the files in the
    site from there, but what would have caused Version 4 to generate
    errors upon trying to open? It starts to open and I can see that
    the properties panel is disabled and then I get the error message:
    "Dreamweaver has encountered a problem and needs to close. We
    are sorry for the inconvenience." I've sent the error report to
    MS...
    Any thoughts other than to use Version 8 from now on? Since
    I'm a designer, I do have quite a few client sites that I'd have to
    reset the remote site info for...
    Thanks.

    a guess- you also downloaded the .mno design note files.
    There should be a technote on this-
    It talks about contribute 2, but it's same exact issue with
    MX and newer
    Dreamweaver 4 crashes on Contribute 2 sites
    Issue
    Dreamweaver 4 crashes whenever it connects to a site that has
    recently been
    accessed by Contribute 2.0, 2.01 (Windows) and Dreamweaver MX
    2004.
    Reason
    Contribute 2 and Dreamweaver MX 2004 design notes on remote
    server or local
    site folder are not compatible with Dreamweaver 4.
    Dreamweaver 4 tries to
    read these files and crashes when it cannot.
    steps to fix are next- link below.
    Permanent Link:
    http://www.adobe.com/go/tn_19048
    or
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19048&sliceId=1
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • I just got a new Imac, and downloaded files from my old PC. Now, when I go to Finder, I have 1500 files in an area called developer. What is this, and can they be deleted? There are also 78 files listed as Other!  Most of these files I do not recognize.

    I just got a new IMac, and tried to download files from my old PC. When I go to,Finder, I have 1500 files under Developer, an 78 files under Other.
    Most of these files I do not recognize. Can they be trashed? Why did they transfer? I used a flash drive for the transfer. Also, is there a way to transfer my older email files to this new computer?
    Thanks for any and all help, I really need it.
    Tom

    Did you use the Migration Assistant to help set up the new iMac using some of the files in the older PC? Some likely won't mean much, unless you have applications that can use or convert them. There's also a way to use the software Time Machine to import data files from an external or another computer, so you may have used that, too.
    Hopefully someone with experience in a similar issue will reply...
    Good luck & happy computing!

  • Download file from AL11 into CSV to load MD into BPC

    Hi All
    I have an issue in downloading file from AL11 which is in the form of CSV.
    1) I have exported the masterdata for Costcenter using a Open hub.
    2) The file is residing at the app server AL11 in the form of CSV.
    3) I want to down load the file into CSV and upload that file into BPC NW for my costcenter diemension.
    When i am downloading the file from AL11 , the total records are merged into one row, i cannot download same as it is available in AL11.
    I have followed the HOW TO GUIED : HOW TO AUTOMATE MD LOADING IN BPC nw.
    I m unable to get the file properly on to my PC.
    could you please help me .
    AK

    You should open your file in AL11, then clicking 'List' then 'Save' you'll be able to download your file. There will be some header lines indeed.
    You'd better use an open hub with your local client as destination if you need the file.

  • Downloaded files with ActiveX not displays using Windows 8 and IE 11

    We are using ActiveX for downloading file from our server. After downloading ActiveX decrypt downloaded files. ActiveX works fine with all other IE versions but in case of IE 11, when we download the files ActiveX doesn't throw any error, but when we check
    the files at downloaded location, it looks like there was no files downloaded. When we the same process again using "IE 11 using "run as Administrator" the downloaded files displays at the downloaded location.
    After debugging, We didn't found error like "access denied or path not found or any other error." with or without Administrator mode. but still facing this issue.
    When we download file again using "Browse for Folder" it display the previous downloaded folders, but not exists at the actual location.
    Your quick reply will highly appreciated.
    Thanks

    Hi,
    on the user account.
    Tools>Manage Addons>Show all addons>Locate your custom download control in the list and double click it to display its properties.
    at the bottom of the Properties dialog there is a list of allowed sites. compare this with the settings on the Administrators account. The value should be the same as on the user account.
    If you are talking about the Akami Download manager from TechNet.
    Name:                   DLM Control
    Publisher:              Akamai Technologies Inc.
    Type:                   ActiveX Control
    Architecture:           32-bit
    Version:                2.2.6.2
    File date:              ‎Thursday, ‎28 ‎June ‎2012, ‏‎4:02 PM
    Date last accessed:     ‎Wednesday, ‎24 ‎October ‎2012, ‏‎9:23 PM
    Class ID:               {4871A87A-BFDD-4106-8153-FFDE2BAC2967}
    Use count:              3
    Block count:            1
    File:                   DownloadManagerV2.ocx
    Folder:                 C:\Windows\Downloaded Program Files
    it is only available in the x86 version.
    On server versions of windows you can only download software from MS on the Admin account. By default
    http://microsoft.com is mapped to the Trusted sites list...
    If possible please post back with the Properties of your custom AX download control from the Manage Addons dialog.
    Rob^_^

  • Can't download files on Android from Server 2012 Essentials Remote Web Access

    I have two servers, one with Windows Server 2012 Essentials, and the other SBS 2011.  Employees like using Remote Web Access to log in from anywhere and have access to shared folders.  It works perfect on a Desktop computer, but when they try to
    use their Android tablets or phones, and want to download a file (e.g. a PDF) from one of the shared folders on the server, the download fails.   When Microsoft was pushing 2012 they said RWA worked great on mobile devices, do I have to set up something
    separately to make this happen?
    I've completely disabled the firewall, and have ports 80,443,987, and 1723(just to be safe) all forwarded to the server.
    I can log into the RWA site on the android, browse files and folders, but when I select a PDF to download, the download shows as if it's starting, shows in my android notification as if its going to start downloading (Shows MobileDownload www.mydomain.com)
    but eventually after a few minutes, will time out and show "Download Unsuccessful".
    Network connectivity is fine as I can do this on a Windows Desktop PC using any browser (Chrome, Firefox, IE) and successfully download anything I want.
    UPDATE:  I found this in the event handler when I tried to download something from a mobile device...
    - System
    - Provider
    [ Name] ASP.NET 4.0.30319.0
    - EventID 1309
    [ Qualifiers] 32768
    Level 3
    Task 3
    Keywords 0x80000000000000
    - TimeCreated
    [ SystemTime] 2014-01-12T16:49:12.000000000Z
    EventRecordID 72818
    Channel Application
    Computer MYSERVER.MYDOMAIN.local
    Security
    - EventData
    3005
    An unhandled exception has occurred.
    1/12/2014 11:49:12 AM
    1/12/2014 4:49:12 PM
    953eedf1ad414391a193e5f98a281da5
    263
    3
    0
    /LM/W3SVC/1/ROOT/Remote-1-130340167702975633
    Full
    /Remote
    C:\Program Files\Windows Server\Bin\WebApps\RemoteAccess\
    MYSERVER
    2592
    w3wp.exe
    NT AUTHORITY\NETWORK SERVICE
    HttpException
    Server cannot set content type after HTTP headers have been sent. at System.Web.HttpResponse.set_ContentType(String value) at System.Web.UI.Page.SetIntrinsics(HttpContext context, Boolean allowAsync) at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.RealPageHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    https://remote.MYDOMAIN.com:443/Remote/fs/MobileDownload.aspx?path=\\MYSERVER\PICTURES\2013603.jpg
    /Remote/fs/MobileDownload.aspx
    MY.IP.ADDRESS.141
    MYDOMAIN\user
    True
    Forms
    NT AUTHORITY\NETWORK SERVICE
    31
    NT AUTHORITY\NETWORK SERVICE
    False
    at System.Web.HttpResponse.set_ContentType(String value) at System.Web.UI.Page.SetIntrinsics(HttpContext context, Boolean allowAsync) at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.RealPageHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Hi,
    Before going further, would you please let me confirm something firstly?
    Would you please let me know if all Android devices
    encounter this same issue? If you download different type files, will still this issue persists? You can upload a small file (such as a text file) to the share folder, then check if Android device can’t download it.
    Based on your description, when logon a desktop computer, you will download files via RWA successfully. Please use the user account which logon computer to logon
    the Android device, will still fail to download?
    Please check if there has enough free space in Android devices that be used to save download.
    When this issue occurred, please check the state of Android device in Dashboard. Besides, I suggest you should run the Best Practices Analyzer (BPA) and fix all
    it can find. Then monitor the result.
    Run the Windows Server 2012 Essentials Best Practices Analyzer
    http://technet.microsoft.com/en-us/library/jj200181.aspx
    In addition, regarding to the Event ID 1309, please refer to the following articles.
    Event ID: 1309 Source: ASP.NET 4.0.30319.0
    http://www.eventid.net/display-eventid-1309-source-ASP.NET%204.0.30319.0-eventno-11022-phase-1.htm
    Hope this helps.
    Best regards,
    Justin Gu

  • Japanese character problem while downloading file to application server

    Hello All,
    We are facing a strange problem while downloading a file to application server when file contains japanese text.
    We are downloading vendor and customer information in a flat file format on application server. When the login language is EN program show ouput in a properly formatted manner.
    When the login language is JA (japanese) program does download file with customer vendor data. I can see the description is japanese language but the formatting is gone for a toss.
    We are facing similar issue with other programs downloading files on the application server.
    I am using OPEN DATASET........ENCODING DEFAULT. and working on unicode enabaled ECC 6.0 system
    Quick help appriciated.
    Thanks!

    Hi
    Sometimes this also happens because of your desktop setting.Make sure that your OS also supports the JAPANESSE language.
    Ask your technical support team to enable them in your desktop.
    Thanks & Regards
    Jyo

  • "Download Files"procedure not working in duplicate app/shows page not found

    Hello,
    I have created an application using the "Download files" procedure described in "How to Upload and Download Files in an Application" chapter of the APEX "Advanced Tutorials." It works just fine on the one server, however, when I exported the application and data from the working copy and imported it in APEX running from my laptop, I could upload files and generate a report with a link to click and download the files again but when I clicked on those links, I would get a "Page Not Found" error. It looks like it might not be going to the procedure and instead goes to a page like the following: "http://127.0.0.1:8080/apex/DBAPORTAL.download_image?p_id=1868612316946460." On the working copy on the other server, when the download link is clicked, you will get a dialog box asking if you would like to open or save the file.
    Could anybody tell me why the procedure is not being called and goes to a non existent url while the origonal application works just fine on the other server?
    I have granted APEX_PUBLIC_USER execute permissions to the procedure. I am wondering if there are any other permissions that I should be granting. Should I grant PUBLIC or ANONOMUSE permissions to use the "download_image" procedure?
    I have forgotten to mention that on my laptop I am using database 11.1 and on the server I believe the database is 10g.
    Hope to get an answer to this issue. I've asked a couple people already and they are stumped.
    Thank you in advance.
    Linda

    Scott,
    I have tried to follow the instructions commented out "RETURN FALSE;" and added procedure 'DOWNLOAD_IMAGE' to wwv_flow_epg_include_local.sql. But I'm confused. Should I be changing file "wwv_flow_epg_include_local.sql' or 'wwv_flow_epg_include_mod_local" package?
    When I run "ALTER SESSION SET DBAPORTAL FLOWS_030100;" in sqlplus, how do I know what FLOWS_XXX I have? Is it FLOWS_030100 or FLOWS_030000? I have database 11.1 installed. What version of APEX do I have with this database? How do I find out?
    Do I need to be in a perticular directory before I run the alter script? If so what folder?
    How do I "Compile the function wwv_flow_epg_include_local.sql.?"
    Needless to say, when I added the procedure to the file, and when I tried to alter it, I got the following error:
    SQL> ALTER SESSION SET DBAPORTAL FLOWS_030100;
    ALTER SESSION SET DBAPORTAL FLOWS_030100
    ERROR at line 1:
    ORA-02248: invalid option for ALTER SESSION
    Please tell me what I am doing wrong.
    Thanks
    Linda

  • Safari can't download file when trying to download movies

    Safari responds with "safari can't download file' when I use download app to download movies . I don't have issues downloading apps or searching net.  Would be grateful for assistance.

    You can't download something from Safari to your iPad.  iPad is a closed system, and not subject to virus intrusion.  Now, if for example you have a Kindle app and you go directly to Kindle in Safari and using your ID you buy a book, the book will download to your Kindle account, which you could then open your kindle App on your iPad and read the book you downloaded in your App.  But you can't go into Safari and just download a book or a movie directly to your iPad from the net........

Maybe you are looking for

  • PS CS 4 crashing on save and open.

    New company, new machine, new problems. IT says to open a ticket. Photoshop CS4 keeps crashing on save and open file.  I have reset the prefs.  Restarted, etc. Here's what I have: Mac Pro 3.2GHz Quad-Core Intel Xeon 10 GB 1066 MHz DDR3 OS X 10.6.8 He

  • How to use the plus sign (+) in URLs

    I have a procedure that takes a name as a in parameter. When the value of the name got a plus sign in it, the browser can't find the page/procedure. It works for every name without the plus sign. Ie. the following is an exsample of an URL with plus s

  • TS3305 I can't access my you tube favorites, forgot username and password

    I never had to sign to you tube to view my favorites, the Ipod is now asking for me to sign in because I can't pull up my favorites and I don't recall username or password used for you tube. Where do I reset the you tube username and password or wher

  • My Mac Pro Stopped working, does that mean i have lost my entire library???

    Am not sure if it's fixable. Please help. Thanks

  • Portable Home Directories and iphoto - problems

    Hi We have recently set up the 'mobility' funtion for our staff via our 10.4 server - thuse creating Portable Home Directories. This all seems to be working fine and documents sync perfectly. What is not behaving is iphoto - we keep getting synchroni