About download file

I have a jsp file, which shows some links to pdf files. but the IE will fire the application to open the pdf files, not to give a savefile dialog. How could i realize that?
thx!

Actually you have to create script that changes default mime-type for that pdf (also you can change it globaly if it is not an issue).
If you do it from the program, there is a trick with IE - you have to change it to some mime-type which IE saves without checking document's content.
So you will have servlet like this -
response.setHeader("Content-Type", "application/x-msdownload");
response.addHeader("Content-disposition", "attachment;filename=some.pdf");
InputStream is = new FileInputStream("some.pdf");
OutputStream os = response.getOutputStream();
byte arr[] = new byte[4096];
int i = 0;
while ((i = is.read(arr)) != -1) {
os.write(arr, 0, i);
os.flush();

Similar Messages

  • Question about download file in OAS4

    Question about download file in OAS4:
    I use Oracle Application Server 4.0.7 on my Windows NT 4.0 SP6;
    I use PL/Sql Cartridge developer a document system; It's use the
    upload/download in PL/Sql Cartridge;
    I read the document , the Upload/download in Pl/Sql Base on the
    Oracle Application Server's Content Service. the Problem is when I
    download a document, If I upload a Html or MsWord file, It will store in a LongRaw column, when me download ; It's tell me can't
    find a application to open this file; I will select a application
    from list to open the download file;
    As normal, It will open MsWord Automatic when download a "doc" file ; also It will open a new window of Browser to view a Html file;
    I check the download process on client Browser; when download
    file, The content-type always return "application/octet-stream";
    Also the download File will lost the postfix of the file,
    So Browser don't open the File Automatic;
    I think If I set the correct Content-Type , Browser can know how open the file; So I use owa_content.set_content_type procedure
    set the Doc file to "application/msword" , but the WEb Server always
    return "application/octet-stream";
    I didn't know how to do this problem, Plese help me.
    null

    I have a Tecra M2 and rely on your email update to ensure I have the latest drivers on my machine.
    When I received a Toshiba support email on 14 April 2005 giving reference to a QFE from Microsoft I assumed it would be necessary for my Tecra.
    I was very confused when I found that this QFE and subsequent ones posted on the 16 April 2005 relate to Pre SP2 critical updates no9t required if one has already taken earlier advice of updating to Service Pack, at the very least your narrative should make mention of this. I find it very difficult to believe that your updates are two+ years out of date.

  • N8 - Questions about downloading files

    Hi,
    Just wanted to know if there was an option in Nokia N8 Belle to clear completed downloads from the download screen while another download is going on? I use the default Nokia web browser and I couldn't find the option but only if there were no active downloads, I can clear the download screen. But while there is one download running, I want to clear the rest of downloaded files from the screen. Is this possible? 
    Also is there any download manager for Belle that could let you save passwords for filesharing sites to download from them quickly and also queue multiple downloads?

    Regarding clearing download list while downloading, there is nothing you can do except wait for the currect download to finish.
    And there isn't any download manager which can save password for sites yet.
    Keep looking in Store.

  • CRVS2010 Beta - about downloading file

    Hello,
    Sorry for my english, i speak french
    In our old VB application (VB6 and .net 2002) for viewing report, we used crystal report object (cr8) and in some application we use reportviewer of crystal report 11.
    But now, we bought VS2010, so i want read this same report made with CR8 and CR11, Can i read it in VB2010?
    the code below is the file i should download ofr CR for vb2010
    Thank you for participating in the SAP BusinessObjects Crystal Reports, version for Visual Studio 2010 Beta Program.
    Download the Beta 2 release of:
    SAP Crystal Reports, version for Visual Studio 2010
    SAP Crystal Reports runtime engine for .NET Framework 4 (32-bit)
    SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit)
    Which file i should download to read existing report in my application in VB2010 ?
    Do i need to download it to read my old report in VB 2010?
    Thank's a lot!
    Pascal_22

    Hi
    You can download the following for reading your reports
    SAP Crystal Reports, version for Visual Studio 2010
    But if you want to deploy your application on production machine then you would require following depending upon the OS(32 bit or 64 bit).
    SAP Crystal Reports runtime engine for .NET Framework 4 (32-bit)
    SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit)
    Please go through following for more info:
    Crystal Reports for Visual Studio 2010 Beta - read before posting
    Crystal Reports for Visual Studio 2010 Beta 2 and Runtimes Now Available
    Thanks,
    Saurabh

  • Newbie question about downloading files

    Is downloading extra updates, music, etc, risky for your phone, in regards to glitches? Does adding too many applications slow things down? 

    Anything can cause a glitch these days. Always do some research before downloading and installing something.
    You can have many apps installed but, running all of them can slow it down a bit.
    Make sure you close your apps when done.
    Music should not affect it if stored on the memory card but when you play them it will scan all the files for changes and that might take a bit if you download a lot at once.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Firefox shows incorrect information about downloading file

    Hi there,
    I dont know what is goin on, firefox shows e.g 500kb/s and 5 minut left, but it takes much more time...
    what can be wrong ?
    thanks
    Last edited by chosen (2012-03-10 22:39:54)

    file's being downloaded ok, ff shows wrong transfer and wrong time left
    Last edited by chosen (2012-03-11 18:10:35)

  • Questions about downloading files

    I've a friend that wants me to download & burn some free files for her, but I'm not very familiar with the particular files. The site has options to download lossless "FLAC" files or "VBR MP3" files. Should I download the VBR MP3 and burn to disc?
    TIA,
    Geoff

    FLAC (info here) is a lossless audio codec and has better audio quality than MP3 VBR.
    But MP3 VBR (lossy) can sound almost as good as FLAC, depending on the bit rate and the audio system.
    You might not even notice the difference when played through 'standard' equipment.
    iTunes doesn't support FLAC however.
    You have to convert the files first (to AIFF) before adding to the library.
    You can use xACT to do that.
    Try MP3s first. The audio quality might be sufficient.
    Hope this helps.
    M
    17' iMac fp 800 MHz 768 MB RAM   Mac OS X (10.3.9)   Several ext. HD (backup and data)

  • About download file into unix file

    Hi expert,
    i use the openset to write file into unix file server.
    but why there are some space at the end of every line.
    by the way, i works very well in windows server
       DATA: DATA_TRANSFER(70).
        Data: DATA_TRANSFER type string.
        data: fine_riga1(1) TYPE X VALUE '0D0A'.
        DATA: gt_data TYPE STANDARD TABLE OF ty_data.
        Constants: ascii_tab type x value ','.
        field-symbols: <f> type any, <delim> type any.
        "Assign delimiter field such as tab or comma.
        assign ASCII_tab to <delim>.
        CLEAR VN_CNT.
        concatenate DSNU 'employee' PN-BEGDA SY-UZEIT into P_UNIX.
        OPEN DATASET P_UNIX in legacy text MODE FOR OUTPUT. " IN TEXT MODE encoding UTF-8.
        IF SY-SUBRC <> 0.
          WRITE: / 'Error on file open:', P_UNIX.
        ELSE.
          LOOP AT TI_DATA .
            CLEAR DATA_TRANSFER.
            concatenate TI_DATA-TYPE
                              TI_DATA-PERNR
                              TI_DATA-ZAUSW
                              TI_DATA-ENAME
                              TI_DATA-TERID
                              INTO DATA_TRANSFER separated by cl_abap_char_utilities=>HORIZONTAL_TAB.
            CONDENSE DATA_TRANSFER NO-GAPS.
            TRANSFER DATA_TRANSFER TO P_UNIX.
            ADD 1 TO VN_CNT.
            CLEAR DATA_TRANSFER.
          ENDLOOP.
          CLOSE DATASET P_UNIX.
        ENDIF.
        WRITE: / P_UNIX,
               / 'Transfered', VN_CNT, 'records'.
    Best Regards,
    Kevin

    Hi,
    Try this way...
    TRANSFER dobj TO dset [LENGTH len]
                                          [NO END OF LINE].
    Addition 1
    ... LENGTH len
    Effect
    This addition determines how many characters or how many bytes of data object dobj are written to the file. len is expected to be a data object of type i that contains the number of characters or bytes. In text files, the content of len specifies the number of characters that are written from the storage. For binary files, legacy text file, and legacy binary files, len specifies the number of bytes that are written to the file. The first len characters or bytes are transferred and alignment gaps are included in the structures. If the addition LENGTH is not specified, all characters or bytes are transferred.
    If the value of len is less than or equal to 0, no characters or bytes are transferred. If the file is opened as a (legacy) text file, however, a line end marker is inserted into the file by default. If the value of len is greater than the number of characters or bytes in dobj, hexadecimal 0 or blank characters are transferred to the file instead of the missing bytes or characters, depending on whether the file was opened as a (legacy) text file or a (legacy) binary file.

  • Downloading files - can I block the empty file from appearing at all? I'm not talking about the .part file, but the one that disappears later anyways.

    Let's say I'm downloading several files, for each file that I'm downloading two new files appear in my download folder. For 'vol1.rar' I have ''an empty'' 'vol1.rar' and a 'vol1.rar.part' file, same for 'vol2.rar', 'vol3.rar', etc.
    I would like to block this empty 'vol1.rar' file from appearing at all - it disappears after the download is finished anyway, and the .part file gets renamed with the actual name.
    I'm downloading files to my desktop, from where I move them to the folders I want them in - having this disappearing 2nd file messes up the order I download the files in - if I add a new file after one of the files I was downloading has finished, the file be placed in the empty spot that the finished file has created, making it harder for me to move to the correct folder.
    A lot of people have asked if it was possible to turn off the .part file, but I haven't seen a single thread about the empty file instead.
    I know this file isn't necessary, because I moved it to another folder/deleted it many times before the download was finished and the real file was still fine.
    So, any ideas as to how to block this file?

    I don't believe there is any way to prevent file downloading if you allow internet access at all. as Király says, whatever they download and install will be limited to the guest account and will go poof on the logout.
    however you can disable CD/DVD and external drives access. some of it can be done by enabling parental controls on the guest account. for more options you can install server admin tools
    http://support.apple.com/downloads/ServerAdmin_Tools_105
    and use workgroup manager to set further restrictions on the guest account.
    P.S. workgroup manager can also forbid guest to mount disk images which will effectively make it impossible to install any programs at all even in the guest account.
    Message was edited by: V.K.

  • About "Upload and download files from ADF into blob type colum."

    hi
    Using JDeveloper 10.1.3.3.0 I have tried the example available for download from this blog post by Jakub Pawlowski:
    "Upload and download files from ADF into blob type colum."
    at http://kuba.zilp.pl/?id=1
    First a thank you to Jakub for this interesting example.
    I have a question about a PDF file that I uploaded using the example.
    The file has a size of 10445518 bytes.
    After I upload that file, the blob column has a value with a size of 10445516 bytes, 2 bytes less.
    SQL> select file_name, dbms_lob.getlength(stored_file) from blob_table;
    FILE_NAME
    DBMS_LOB.GETLENGTH(STORED_FILE)
    ADF-DeveloperGuide-4GL-B25947_01.pdf
                           10445516If I download that file using the example, it has the same size as the blob value, 10445516 bytes.
    If I open the downloaded file, using Adobe Reader 8.1.1, it first shows this message:
    "The file is damaged but is being repaired."
    After that, there is not problem using the PDF file in Adobe Reader.
    I have tried this with both Internet Explorer 6 and Firefox 2.0.0.11.
    I have also tried this with other (smaller) files, and those upload and download correctly.
    question:
    Why are those 2 bytes lost during upload?
    many thanks
    Jan Vervecken

    Hi!
    I can only post you my code that works for me and as I said I had same problems but can't remember what solved them. My code:
      public void fileUploaded(ValueChangeEvent event)
        FacesContext fc = FacesContext.getCurrentInstance();
        UploadedFile file = (UploadedFile) event.getNewValue();
        if (file != null && file.getLength() > 0)
          // here I have some messages written and a call to the method on AM to save the uploaded file to the DB
      private BlobDomain newBlobDomainForInputStream(InputStream in)
        throws SQLException, IOException
        BlobDomain loBlob = new BlobDomain();
        OutputStream out = loBlob.getBinaryOutputStream();
        writeInputStreamToWriter(in, out);
        in.close();
        out.close();
        return loBlob;
      private static void writeInputStreamToWriter(InputStream in,
                                                   OutputStream out)
        throws IOException
        byte[] buffer = new byte[8192];
        int charsRead = 0;
        while ((charsRead = in.read(buffer, 0, 8192)) != -1)
          out.write(buffer, 0, charsRead);
       * Launch the upload - see fileUploaded() for actual upload handling.
       * @return null navigation event - we stay on this page
      public String UploadButton_action()
        if (this.getMyInputFile().getValue() == null)
          FacesContext context = FacesContext.getCurrentInstance();
          FacesMessage message =
            new FacesMessage(FacesMessage.SEVERITY_WARN, JSFUtils.getStringFromBundle("fileupload.emptyfielderror"),
                             null);
          context.addMessage(this.getMyInputFile().getId(), message);
        return null;
       * Setter for inputFile UI Component.
       * @param inputFile inputFile UI component
      public void setMyInputFile(CoreInputFile inputFile)
        this.myInputFile = inputFile;
       * Getter for inputFile UI Component.
       * @return inputFile UI component
      public CoreInputFile getMyInputFile()
        return myInputFile;
      }fileUploaded is a valueChangeListener on inputFile and UploadButton_action is as the name says the action for upload button.
    Hope this helps. If not, than your problem is probably not the same as mine was, although the message about file corrupted was the same.
    Next thing you can check in this case is if your file exceeds max file upload size. I don't know the exact default value, but if the file is too long I think this upload logic will upload only a part of the file and save it to the DB which can also lead to the same file corrupted error.
    You can set the max upload value in web.xml like this:
    <context-param>
    <!-- Maximum memory per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_MEMORY</param-name>
    <!-- Use 5000K -->
    <param-value>5120000</param-value>
    </context-param>
    <context-param>
    <!-- Maximum disk space per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_DISK_SPACE</param-name>
    <!-- Use 10,000K -->
    <param-value>15360000</param-value>
    </context-param>

  • I need some information about File Download & File Upload

    Hi  All,
    Can any one help me on this, I need some information about File Download & File Upload.
    I read tutorial abt file upload and download but some of methods in tutorial are deprecated so i need clear information abt File upload and Download, if possible Code examples.
    Thanks
    Ragards
    Ravi Golla

    Hi Ravi
    Check out thses links for examples:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    /docs/DOC-8661#22 [original link is broken]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f
    Otherwise you can simply follow this code for file download
    Use the code like this.
    1) Create the button and bind the action for it.
    2)then write this code in the action.
    3) do not write any thing in the init method.
    try {
    final byte[] content = this.getByteArrayFromResourcePath("C:
    xyz.properties");
    final IWDCachedWebResource resource = WDWebResource.getWebResource(content, WDWebResourceType.UNKNOWN);
    try {
    final IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(resource.getAbsoluteURL(), "WD_Filedownload", false);
    window.open();
    catch(Exception e)
    wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(e), false);
    5) writr the method getByteArrayFromResourcePath
    //@@begin others
    private byte[] getByteArrayFromResourcePath(String resourcePath)
    throws FileNotFoundException, IOException {
    FileInputStream in = new FileInputStream(new File(resourcePath));
    ByteArrayOutputStream out = new ByteArrayOutputStream();
    int len;
    byte[] part = new byte[10 * 1024];
    while ((len = in.read(part)) != -1) {
    out.write(part, 0, len);
    in.close();
    return out.toByteArray();
    //end
    Similarly for file upload
    Similarly for upload in to server path also do the same
    IWDAttributeInfo attInfo =
    wdContext.getNodeInfo().getAttribute("upload");
    binaryType =
    (IWDModifiableBinaryType) attInfo.getModifiableSimpleType();
    uploadedName = binaryType.getFileName();
    File filename =new File("
    <server name>
    <folder name>
    "+uploadedName ); );
    try {
    FileOutputStream out = new FileOutputStream(filename);
    out.write(b);
    out.close();
    } catch (FileNotFoundException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();

  • IPod seen by Windows, not downloading files ...

    Tried the '5R' bit. Didn't help. Let me see if I can explain.
    * Purchased iPod for my wife for Christmas a month+ ago
    * Downloaded iTunes and created a fairly large library of MP3 files from our CD collection. Use iTunes regularly on Windows, no problem.
    * Got the iPod out of the box today, and followed directions.
    * Plugged it in.
    * iTunes sees it, entered information for iPod name, did registration stuff. [NOTE: each time I plug the iPod in and iTunes sees it, it brings up the "Setup Wizard", which is kind of pointless ...]
    * It said it was updating the iPod. It showed it was copying the library file by file.
    * It copied the files not to the iPod, but to: C:\iPod_Control in a folder there (they MP3 files in the library are in a folder called "C:\MP3s" and stored in folders there for individual CDs). This now doubles the disk space used on the harddrive, but also did not copy the files to the iPod itself.
    Suggestions? What did I do wrong? Is it me, the software, what?
    When I plug the iPod in, it is seen by iTunes. It shows the library of files, but in that other folder. How do I know? I go to the iPod menu, select "Settings" and "About" and it shows zero songs, zero videos and zero pictures (have no videos or pictures set for download, just trying to be complete). Any help will be gratefully accepted.

    Thanks. The problem appears to be that the iPod was not being recognized by Windows as a drive. I had to go do some weird jumping through hoops. The computer wanted to map it as drive 'J:' which had a reference to my hard drive that had been mapped for my network -- am not quite sure why. But I could not get the computer to assign as any other drive letter (I am sure it's something I've just forgotten). Anyway, once I unmapped the drive 'J:' mapping, suddenly the iPod showed up as drive J: and I was able to start downloading files to it. I am still doing it, but I think it's working. I should note that I had previously deleted the iPod folder that I mentioned in the first post first. As noted, it apepars to be working, so we'll see. Thanks!

  • 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

  • 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.

  • Names of downloaded files appear in Downloads Window only if that window is open during download. I run Firefox 4 on windows xp 32 bit sp3. I didn't have such problem with Firefox 3. Can somebody please help me?

    When I download a file with firefox 4 Downloads Window opens but downloading file name doesn't appear there. If I keep Downloads Window open further downloads appear in it but if i close it and reopen it again it appears blank, all downloaded file names are disappeared. I tried everything, unchecked "Remember download history" box and checked it again, deleted downloads.sqlite file, even created new profile but nothing helped.

    It is easy for me to explain things badly, and I can not see what you are actually doing, I will therfore try to list as steps to take.
    Please confirm that you have used firefox safe mode and still see the problem, by doing the following:
    # open firefox - use any profile
    # use '''Firefoxbutton -> Help -> Restart with add-ons disabled'''
    # you should now see an options dialogue with a list of check box options,
    #*you may get a confirmation option, if so accept it
    #* do you now see the listing of check boxes, with a continue button at the bottom
    #without making any changes, click the continue with safemode
    # firefox should now restart in safe-mode
    Now try the downloading, whilst we know you are in safe mode.
    # once a download has completed, use the option to open the containing folder that you see in your download manager
    ## does that option work ok,
    ## does it open a folder with downloads in it, make a note of the folders path/location/name
    ## do you see the downloaded file you just downloaded
    ## if so regardless of what the downloads folder says you have found the downloads
    ## close firefox and the folders with the downloads
    ## are you now able to reopen the 'containing' folder and find the downloads <br />( use Windows Explorer, not clicking on firefox, - firefox is closed)
    ## close the folder again
    ## open firefox, this time no need to be in safe mode
    ## look again for the containing folder whose name you noted down, does it still contain the downloads
    #'''IF''' you are getting problems now that you are in safe mode read the article about [[Unable to download or save files]]
    ## the article has several steps it suggests you try,
    ## please try all the steps in turn and report what happens with each step

Maybe you are looking for

  • Having problem with adding and reading dates to/from database !!!

    Hi I am new in J2ME I am trying to code a simple software. My problem is with dates. I have a datefield on my menu and the user will choose the date from here. By default, datefield shows todays date. But when I try to write that date to database usi

  • How to write list values to a text file?

    Hi. Does anyone know how to write values stored in a List to a text file? I have a program that asks the user to enter a name and stores it in a list. The number of names in the list depends on how many times the user wants to enter a name. The probl

  • MS ACCESS WORK BENCH

    Who do you Uninstall MS Access workbench ? I can't find the MS Access workbench selection in the universal installer. It looks like i have created a problem. because i installed this utility on the server machine and now. I can not login into the dat

  • PO Release TAB not trigered in Purchase Order

    Dear all, We have created a Release strategy in our test system.Its works fine.But when we create the same in our clients development system the "Release Strategy "Tab is not triggered in Purchase order.We did the following steps while creation 1) Cr

  • Bridge crashes

    Bridge CS3 crashes as it opens, every time.  I even reinstalled the whole suite.  Still happens. This occurred before, when CS3 was still supported, and there was a really easy fix.  I just can't remember it. OS X.4.11 Any help? Thanks. Michael