Downloading PDF files in OS X Mavericks

After upgrading to OS X Mavericks, I find that Adobe cannot open downloaded PDF files.

Felicia clearly stated that she had no issue viewing PDF files from the Internet within Safari. Rather, Reader was newly borking on the files that were direct downloads into the filesystem, or came as email attachments. A very different issue from plug-ins.
Felicia, if you had opened an Internet PDF in a browser plug-in, you must use the save feature in the plug-in, not File > PDF Export, or File > Save As... These approaches will create a munged PDF that will cause Reader to pop that dialog you saw. You must use the Save feature provided by the browser plug-in. This is on a hover-bar that appears slightly above the bottom of your browser window with the PDF displayed.
This may also explain the corrupted PDF email attachments too.
Ok. So you have reinstalled Acrobat Reader per CF McBlob's pointer and everything is messed up.
Drag Acrobat Reader to the trash and empty the trash again. Sigh. Now get a fresh copy from the Adobe consumer site. Once you download it, exit Safari. Install Acrobat Reader. See if you can see Internet PDF again in Safari. Follow my advice above on how to correctly save viable PDF files. See if your issues are solved. And eject the Acrobat Reader installer from your Desktop.

Similar Messages

  • Mavericks 10.9.1. Freezes or trackpad becomes slow and unresponsive when viewing downloaded PDF files in Preview.Help!

    The earlier post was my first attempt at posting and had some typos. Repeated with typos corrected.
    I have a Macbook Pro Retina 13" Late 2013 with preinstalled Mavericks.I now have the 10.9.1 update. Almost from the time of purchase in Nov '13, I have been experiencing freezes and slow & unresponsive trackpad. I have more or less narrowed this symptom as happening when viewing downloaded PDF files. The only option is to force eject, if available or shut down. I spoke to Support as I thought it was a RAM issue and they told me that in Mavericks RAM showing almost full was normal as it uses RAM differently. They took me through some resets and cleaning up which has helped a little but freezing stll happens. This never happened with my Macbook AIr running Lion. Any suggestions?
    Shankar9
    Macbook Pro Retina 13" Late '13-Mavericks 10.9.1
    Macbook Air 13" Mid '11-Lion
    Macbook Aluminium 13" Late '08-Snow Leopard

    So a PDF file that you can view in Preview on your MBA causes your new MBP to lock up and/or slow down. Is this right? Also you say more or less narrowed down to PDFs with Preview but does the computer exhibit this behavior with other programs and if so under what conditions? And how much free hard drive space do you have?
    Viewing memory use in Mavericks is different than with previous versions of the OS. Today it looks like we need to pay attention to what Apple calls Memory Pressure which is gauged by the bar graph in Activity Monitor and to the Virtual Memory being used. When the memory pressure graph bar gets too high it turns red and that's bad news. Looking at how much memory is being used doesn't help - I have a 16GB computer and with almost nothing running it still shows something like 15.79GB used but the memory pressure graph is just a think green line. So unless you see the memory pressure bar turning red lets not worry about memory usage at the moment.
    If among the things AppleCare had you do was reinstall Mavericks then I recommend a trip to the Apple store - and take a problem PDF file with you to demonstrate.

  • Safari is downloading pdf files in another language

    For some reason Safari has started downloading pdf files in Chinese!  OS is Mavericks.  Adobe Reader is up to latest 11.0.7.  Firefox downloads pdf files in English with no problem!
    Is there a system setting or a setting for Safari itself to change this to download pdf files in English?
    thanks,
    Lisa

    Hi, thanks for reply but guess what?  I figured it out!  Stupid Adobe plugins!!!
    Deleted both these plugins from Internet plugins:
    AdobePDFViewer.plugin
    AdobePDFViewerNPAPI.plugin
    Now pdfs download in English!!!
    Lisa

  • Since upgrading my Mac OS X from 10.6.8 to 10.8 and 10.9, I cannot open newly downloaded pdf files.  Please help!  Thanks.

    Hi,
    Since upgrading my Mac OS X from 10.6.8 to firstly, 10.8 and then, 10.9, I have not been able to open new pdf files on either Preview or Acrobat Reader. 
    I can still open previously downloaded pdf files but not new ones. 
    I can still open new pdf files online.  However, when I save a pdf to my computer, I cannot open them anymore.
    I upgraded to 10.8 a couple of weeks ago and then accepted a free upgrade to Maverick (10.9) this morning.  I was hoping that by upgrading to Maverick, I would be able to open pdf files again but alas, that is not the case.
    I really need to open pdf files as a matter of urgency as I do this on a daily basis.  I am not a computer whizz so if anyone can help find a simple yet effective solution to my problem, that would be much appreciated.
    Thanks!

    When I try to open a downloaded pdf file, I receive this message:
    "It may be damaged or use a file format that Preview doesn’t recognize."
    Yet, when I try to open pdf files downloaded whilst still using Mac OS X 10.6.8, they open as normal.  So what is the problem, please?
    I have deleted Adobe Reader and re-installed it.  Yet, it follows the same pattern as above.  The same is true of Preview.  It's really frustrating because it means I can only open new pdf files using Safari (so I have to be online to do this).  I need to be able to open pdf files when I'm offline as well.
    Thanks.

  • How to edit a downloaded .pdf file?

    Hi! Have a downloaded .pdf file, (application for employment form) My options are to print out/fill out. I want to know if there is a way that I can edit the application so that I can fill it out on line (Neater) then print. Between a 2004 version of Word, plus Keynote, Pages and Adobe 8, I can't edit the application. I called Apple and they said there is no way that I edit a pdf file so that I can complete the application on line. There must be a way to do this, right? Thanks, Bill

    Bostonfan49 wrote:
    Hi! Have a downloaded .pdf file, (application for employment form) My options are to print out/fill out. I want to know if there is a way that I can edit the application so that I can fill it out on line (Neater) then print. Between a 2004 version of Word, plus Keynote, Pages and Adobe 8, I can't edit the application. I called Apple and they said there is no way that I edit a pdf file so that I can complete the application on line. There must be a way to do this, right? Thanks, Bill
    Yes, there is a way. First, if check the security on the pdf. Adobe has many levels of security, so that files can be printed but not edited and not made into smaller files, etc.
    Usually you would need the real Adobe app, not the reader. But then, even though Adobe can edit pdf files, it will not do so if the file is protected. You normally would be asked for a password when you attempt to modify a PW-protected pdf document.
    That all being said, if the document is protected I can only refer you to ghostscript, ghostview and GSView.

  • Adobe Reader 9.0 has delay when downloading PDF file through proxy server

    There is an issue with the Adobe Reader (and Acrobat) 9.0 PDF Link Helper ActiveX control for Internet Explorer (6 or 7) on Windows computers with respect to proxy servers. Due to this issue, there is a 2 minute delay for any Internet Explorer web browser on the Deere network before any PDF file will open from the Internet within the IE web browser if In-Place activation (Display PDF in Browser) is enabled in Adobe Reader 9. This problem does not affect Adobe Reader 8.
    What we are seeing is that when someone on the Deere network clicks on a links to a PDF file in the Internet, the PDF file downloads immediately. But then, after the PDF file is downloaded, the Adobe Reader 9 PDF Link Helper ActiveX control tries to talk directly to the Internet web site. The Adobe Reader 9 PDF Link Helper ActiveX control does not know how to negotiate our proxy server. So after a minute or two, the Adobe Reader 9 PDF Link Helper ActiveX control times out (gives up) and allows the IE browser to display the downloaded PDF file in the IE browser.
    We work around this issue by disabling In Place Activation for PDF files in IE (uncheck Display PDF in Browser). But we would like a fix for the PDF Link Helper ActiveX control.
    [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\Originals]
    "bBrowserIntegration"=dword:00000000
    [HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\9.0\Originals]
    "bBrowserIntegration"=dword:00000000
    Here's what our proxy people see when they do a trace of a PDF file download through their proxy server with IE 7 and Adobe Reader 9 with Display PDF in Browser checked.
    The browser tells the proxy to download the pdf, it does and sends it to the browser. Before the browser opens it something in Acrobat ( or I.E. ? ) tries to make a connection back to the content server that hosted the pdf. Unfortunately this agent does not ask the proxy to make the request for it, but rather asks local DNS to resolve the Internet server name. This request dies because our internal private network does not know anything about the Internet. Only the DNS used by the proxy can resolve Interent names. After two unsuccessful DNS queries into the private network, the agent tries to resolve the same Internet name with NBNS ( netbios name service) queries again into the private network, with the same results. These requests persists for more than two minutes ( over 200 unresolved queries ). Then for whatever reason the agent gives up and the already downloaded pdf file loads into the browser.
    I have a TCP capture file if you want it.

    Hi,
    I have the same problem with some specific PDF files. For more than 90% it hangs when opening the file, but sometimes it works (with the same file).
    The workflows where it sometimes worked:
    a) Loading the PDF, the reader is started the first time and displays license dialog.
    b) The reader was already runing and file is loaded with Drag&Drop or File/Open in the Reader
    But most times it does not load.
    I could not find out which file is missing or trying to be opened. So I tried with the CP949.TXT.
    I found no CP949.TXT in Reader 8 installation, so I took it from the link, pasted into notepad and stored in the respective directory
    C:\Program Files (x86)\Adobe\Reader 9.0\Resource\TypeSupport\Unicode\Mappings\win\
    Now it seems to work fine, opening PDFs with double click from exporer.
    But why did Adobe Reader 8 not have the TypeSupport directory at all?
    Even when having found a fix (hack?), I think I did not understand the cause of this problem.
    Regards,
    TheLastReader

  • When I try to open a downloaded PDF file it opens for about 6 seconds and then closes - how can I fix that?

    I am using a Dell XPS8500 desktop with 64 bit Windows 7.
    No problem downloading PDF files but when I open them they disappear before I can print.

    Hello,
    Which application are you trying to open the PDF files in? Firefox or Adobe Reader? Or another?
    If adobe reader then please make sure that your copy is up to date. You can get the latest version here - http://get.adobe.com/uk/reader/
    Also I notice that you are using Firefox 19. Unless you have a particular reason to run an old version of Firefox is it much better to keep updated. The latest version is v22. New security fixes are applied in every new version of Firefox. Without them your PC is vulnerable. Please see this article: [[Update Firefox to the latest version]]

  • Unable to download pdf file in windows 8.1

    After upgrading to windows 8.1, i have been unable to download pdf files sent via yahoo email, IE11 and Adobe Reader 11.  Did not have this problem before with windows 8.  I click on the pdf attachment, NOrton says that the file is safe but nothing happens.  Am unable to save the file to my computer either.  Have already reloaded Adobe Reader repeatedly, drivers for window 8.1 associated with the hardware on my system, newest version of internet explorer,, upgraded drivers for my Canon printer and still no downloads!!!
    Can anybody help?  Microsoft community unable to give anymore suggestions.

    Wrong forum (this is Digital Editions), but ...
    I find .pdf files often won't launch properly on my Win8.1.  It starts the process but it doesn't do the right thing.
    Try making sure you don't have any copies of Reader working (AcroRd32.exe on my 32 bit Win 8.1).
    Start a copy from the start screen (or start menu if you've set one up) BEFORE you try to access the file.
    Now try to do the download or open it from the downloads directory.
    I find that way the file will open properly.

  • How do I get commands to display on a "full screen" display of a downloaded PDF file?

    In recent months, more and more downloaded PDF files are displayed on my Mac Pro without the command line at the top of the page.  This makes using & managing the documents difficult, and sometimes impossible.  I can gain access to a limited number of commands by clicking on the doc, but noto nearly the range of commands available when the command line is visible.  I still have many older PDF files that display in the usual manner.  Is this a change associated with Lion or the latest Adobe update?  Or, si there a command I do not know about that will restore the command line?

    Adobe Reader for iOS doesn't have command lines.

  • Download PDF file from Application Server in BSP

    Hello,
    We have a requirement on which we want to download a PDF file stored in Application server using BSP application. I have used function module  ARCHIVFILE_SERVER_TO_CLIENT but this FM will help only if i want to download file from GUI it won't work in BSP application.
    Further i have used class CL_BSP_UTILITY and download method to download file from application server but it is not working in desired manner.
    I am attaching my code for your reference:
    DATA: BUTTON_EVENT TYPE REF TO CL_HTMLB_EVENT_BUTTON ,
               EVENT TYPE REF TO IF_HTMLB_DATA.
    DATA: LS_HOURS LIKE LINE OF GT_HOURS.
    DATA STR TYPE STRING.
    DATA: OUTPUT TYPE STRING ,
              L_XSTRING TYPE XSTRING ,
               APP_TYPE TYPE STRING. 
    EVENT = CL_HTMLB_MANAGER=>GET_EVENT( REQUEST ).
    DATA PHY_NAME_OUT     TYPE SAPB-SAPPFAD.
    IF EVENT IS NOT INITIAL AND EVENT->EVENT_NAME = HTMLB_EVENTS=>BUTTON .
      BUTTON_EVENT ?= EVENT .
      CASE EVENT->EVENT_SERVER_NAME.
        WHEN 'test' .
          IF GT_HOURS IS NOT INITIAL.
            PHY_NAME_OUT = '/usr/sap/put/form16//01000200_2007.PDF'.
          OPEN DATASET PHY_NAME_OUT FOR INPUT IN TEXT MODE ENCODING DEFAULT.
            IF SY-SUBRC IS INITIAL.
              DO.
                READ DATASET PHY_NAME_OUT INTO STR.
                IF SY-SUBRC IS INITIAL.
                CONCATENATE
                    OUTPUT
                    str
                    cl_abap_char_utilities=>cr_lf
    INTO output SEPARATED BY space. "cl_abap_char_utilities=>horizontal_tab
                ELSE.
                  EXIT.
                ENDIF.
              ENDDO.
            ENDIF.
    *LOOP AT gt_hours INTO ls_hours.
    *CONCATENATE
    *OUTPUT
    *ls_hours-hour
    *cl_abap_char_utilities=>cr_lf
    *INTO output SEPARATED BY space. "cl_abap_char_utilities=>horizontal_tab
    *ENDLOOP.
            APP_TYPE = 'APPLICATION/PDF;charset=utf-16le'.
            CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
              EXPORTING
                TEXT     = OUTPUT
                MIMETYPE = 'APPLICATION/PDF;charset=utf-16le'
              IMPORTING
                BUFFER   = L_XSTRING.
            CONCATENATE CL_ABAP_CHAR_UTILITIES=>BYTE_ORDER_MARK_LITTLE
            L_XSTRING
            INTO L_XSTRING IN BYTE MODE.
            CALL METHOD CL_BSP_UTILITY=>DOWNLOAD
            EXPORTING
            OBJECT_S = L_XSTRING
            CONTENT_TYPE = APP_TYPE
            CONTENT_DISPOSITION = 'attachment;filename=webforms.pdf'
            RESPONSE = _M_RESPONSE
            NAVIGATION = NAVIGATION.
          ENDIF.
      ENDCASE.
    ENDIF.
    From this code i am able to download PDF file but it is not opening in local machine.
    If any other way to download file then please suggest.
    waiting for ur reply.
    Regards,
    Gagan

    Hi,
    you do the file reading wrong:
    have a look at:
    Local declarations.
      data:
        components          type stringtab,
        component           type string,
        path                type text255,
        file                type text255,
        line_length         type i,
       filecontent_binary type sdokcntbin,
        rows                type sytabix,
        content             type sdokcntbin,
        exception           type ref to cx_sy_file_access_error,
        exception_tmf       type ref to cx_sy_too_many_files ,
        block_size          type i value 1022,
        length              type i.
      field-symbols:
        <hex_container>     type x.
      constants:
        c_dms_blk_size      type i value 2550.
      clear file_size.
      try.
          open dataset file_name  for input in binary mode message message.
        catch cx_sy_file_open  into exception.
          case exception->textid.
            when '4182174D03030063000000000A1551B1'. raise access_error.
            when '41825AD355C3005E000000000A1551B1'. raise open_error.
            when '47E8B03AECE5BA07E10000000A114829'. raise already_open.
            when others.
          endcase.
        catch cx_sy_file_authority into exception.
          case exception->textid.
            when '4182174D03030063000000000A1551B1'. raise access_error.
            when 'A70BB8396F051547E10000000A11447B'. raise authority_error.
            when others.
          endcase.
        catch cx_sy_too_many_files into exception_tmf.
          case exception_tmf->textid.
            when '8708B73915F6B645E10000000A11447B'. raise too_many_files.
            when others.
          endcase.
      endtry.
      do.
        try.
            read dataset file_name into filecontent_binary-line.
            if sy-subrc <> 0.
              add  line_length to file_size.
              append filecontent_binary to file_content_binary.
              exit.
            else.
              add  line_length to file_size.
              append filecontent_binary to file_content_binary.
            endif.
          catch cx_sy_file_open_mode into exception.
            case exception->textid.
              when '9207B73915F6B645E10000000A11447B'. raise cx_sy_file_open_mode.
              when '9807B73915F6B645E10000000A11447B'. raise read_only.
              when '9E07B73915F6B645E10000000A11447B'. raise not_open.
              when '409D273A2D824360E10000000A11447B'. raise incompatible_mode.
              when others.
            endcase.
        endtry.
      enddo.
      try.
          close dataset file_name.
        catch cx_sy_file_close into exception.
          case exception->textid.
            when '4182174D03030063000000000A1551B1'. raise access_error.
            when 'C10BB8396F051547E10000000A11447B'. raise close_error.
            when others.
          endcase.
        catch cx_sy_file_access_error into exception.
          case exception->textid.
            when '4182174D03030063000000000A1551B1'. raise access_error.
            when others.
          endcase.
      endtry.
    Get file size.
      split file_name at '/' into table components.
      describe table components lines sy-tfill.
      read table components into component index sy-tfill.
      path = file_name.
      replace component in path with ''.
      file = component.
      call function '/EUH/MMS_GET_FILE_SIZE'
        exporting
          dir_name  = path
          file_name = file
        importing
          file_size = file_size.
    and function /euh/mms_get_file_size.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(DIR_NAME) TYPE  TEXT255
    *"     VALUE(FILE_NAME) TYPE  TEXT255
    *"  EXPORTING
    *"     VALUE(FILE_SIZE) TYPE  SDOK_FSIZE
    *"  EXCEPTIONS
    *"      NO_AUTHORITY
    *"      ACTIVITY_UNKNOWN
    *"      NOT_A_DIRECTORY
    *"      NO_MEDIA_IN_DRIVE
    *"      TOO_MANY_ERRORS
    *"      TOO_MANY_FILES
    *"      BRACKET_ERROR_IN_FILENAME
    *"      NO_SUCH_PARAMETER
      types: begin of files,
               line like ocs_file,
             end of files.
      data: file type files,
         f_subrc like sy-subrc value 0,
         errno(3)    type c,
         errmsg(40)  type c,
         pos                        type i,
         len                        type i,
         parameter(120)             type c,
         help1(120)                 type c,
         help2(120)                 type c,
         error_counter              type i.
      data:
        dir_list  like  ocs_file occurs 0 with header line.
    CASE sy-subrc.
       WHEN 1. f_subrc = 64.
       WHEN 2. f_subrc = 65.
       WHEN 0.
      search dir_name for 'SY-HOST'.    "Is SY-HOST used in directory name?
      if sy-subrc = 0.
        pos = sy-fdpos + 7.
        move dir_name(sy-fdpos) to help1.
        move dir_name+pos to help2.
        concatenate help1 sy-host help2 into dir_name.
      endif.
      do 12 times.                                 " To avoid endless loop
        if dir_name cs '$('.           " Replace parameter by their value
          pos = sy-fdpos + 2.
          if dir_name cs ')'.
            len = sy-fdpos - pos.
            if len le 0.
              f_subrc = 4. exit.
            else.
              parameter = dir_name+pos(len).
              call 'C_SAPGPARAM' id 'NAME'  field parameter
                               id 'VALUE' field parameter.
              if sy-subrc = 0.
                len = pos + len + 1.
                pos = pos - 2.
                if pos > 0.
                  move dir_name(pos) to help1.
                else.
                  help1 = ''.
                endif.
                pos = strlen( dir_name ).
                if pos > len.
                  move dir_name+len to help2.
                else.
                  help2 = ''.
                endif.
                concatenate help1 parameter help2 into dir_name.
              else.
                f_subrc = 8. exit.
              endif.
            endif.
          else.
            exit.
          endif.
        else.
          exit.
        endif.
      enddo.
      shift dir_name right deleting trailing '/\ '.
      shift dir_name left deleting leading space.
      call 'C_DIR_READ_FINISH'                      " this is from RSWATCH0
            id 'ERRNO'  field errno
            id 'ERRMSG' field errmsg.
      call 'C_DIR_READ_START'
            id 'DIR'    field dir_name
            id 'FILE'   field file_name
            id 'ERRNO'  field errno
            id 'ERRMSG' field errmsg.
      case sy-subrc.
        when 1.
          case errno.
            when 2 or 20.  f_subrc = f_subrc + 66.
            when ' '. f_subrc = f_subrc + 67.
          endcase.
        when 0.
          clear error_counter.
          do.
            clear file.
            clear dir_list.
            call 'C_DIR_READ_NEXT'
                id 'TYPE'   field file-line-type
                id 'NAME'   field file-line-name
                id 'LEN'    field file-line-len
                id 'OWNER'  field file-line-owner
                id 'MTIME'  field file-line-mtime
                id 'MODE'   field file-line-acc_mode
                id 'ERRNO'  field errno
                id 'ERRMSG' field errmsg.   "sy-subrc = 3 is e.g. if return
            if sy-subrc = 0 or sy-subrc = 3."data do not fit into variables
              perform p6_to_date_time_tz(rstr0400) using
                    file-line-mtime
                    file-line-mod_time
                    file-line-mod_date.
              file_size = file-line-len.
              dir_list = file-line.
              append dir_list.
            elseif sy-subrc = 1.                 " nothing (more) found
              exit.
            else.
              if error_counter > 50.
                call 'C_DIR_READ_FINISH'
                    id 'ERRNO'  field errno
                    id 'ERRMSG' field errmsg.
                pos =  f_subrc mod 2.
                if pos = 0. f_subrc = f_subrc + 1. endif.
                exit.
              endif.
              add 1 to error_counter.
            endif.
            if sy-index > 1000.
              pos =  f_subrc mod 4.
              if pos = 0. f_subrc = f_subrc + 2. endif.
              exit.
            endif.
          enddo.
          call 'C_DIR_READ_FINISH'
               id 'ERRNO'  field errno
               id 'ERRMSG' field errmsg.
          if sy-opsys(3) = 'Win' and not ( file_name cs '*' ).
            describe table dir_list lines len.
            if len = 0.
              help1 = file_name.
              translate help1 to upper case.
              translate help1 using
                   'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
              call 'C_DIR_READ_START'
                    id 'DIR'    field dir_name
                    id 'FILE'   field help1.
              if sy-subrc = 0.
                clear error_counter.
                do.
                  clear file.
                  clear dir_list.
                  call 'C_DIR_READ_NEXT'
                      id 'TYPE'   field file-line-type
                      id 'NAME'   field file-line-name
                      id 'LEN'    field file-line-len
                      id 'OWNER'  field file-line-owner
                      id 'MTIME'  field file-line-mtime
                      id 'MODE'   field file-line-acc_mode
                      id 'ERRNO'  field errno
                      id 'ERRMSG' field errmsg.
                  if sy-subrc = 0 or sy-subrc = 3.
                    help2 = file_name.
                    translate help2 to upper case.
                    help1 = file-line-name.
                    translate help1 to upper case.
                    if help1 = help2.
                      perform p6_to_date_time_tz(rstr0400) using
                         file-line-mtime
                         file-line-mod_time
                         file-line-mod_date.
                      dir_list = file-line.
                      append dir_list.
                    endif.
                  elseif sy-subrc = 1.
                    exit.
                  else.
                    if error_counter > 50.
                      call 'C_DIR_READ_FINISH'
                          id 'ERRNO'  field errno
                          id 'ERRMSG' field errmsg.
                      pos =  f_subrc mod 2.
                      if pos = 0. f_subrc = f_subrc + 1. endif.
                      exit.
                    endif.
                    add 1 to error_counter.
                  endif.
                  if sy-index > 1000.
                    pos =  f_subrc mod 4.
                    if pos = 0. f_subrc = f_subrc + 2. endif.
                    exit.
                  endif.
                enddo.
                call 'C_DIR_READ_FINISH'
                     id 'ERRNO'  field errno
                     id 'ERRMSG' field errmsg.
              endif.
            endif.
          endif.
      endcase.
    ENDCASE.
    CASE f_subrc.
       WHEN 1 OR 3.             RAISE too_many_errors.
       WHEN 2.                  RAISE too_many_files.
       WHEN 4 OR 5 OR 6 OR 7 OR 70 OR 71.
         RAISE bracket_error_in_filename.
       WHEN 8 OR 9 OR 10 OR 11 OR 74 OR 75.
         RAISE no_such_parameter.
       WHEN 64.                 RAISE no_authority.
       WHEN 65.                 RAISE activity_unknown.
       WHEN 66.                 RAISE not_a_directory.
       WHEN 67.                 RAISE no_media_in_drive.
    ENDCASE.
    endfunction.
    Now you will be able to get the filesize and the file in SDOK format sdokbin.
    Okay.
    You have to build an request and push the content to the user like:
      call method server->response->set_header_field( name = 'Content-Type' value = value ).
      describe field file_content_binary-line length line_length in byte mode.
      bytes_rest = file-size.
      loop at file_content_binaries assigning <file_content_binary>.
        move <file_content_binary>-line to data.
        if bytes_rest <= 0. "mismatch between line values and size
          exit.
        endif.
        if bytes_rest >= line_length.
          call method server->response->append_data( data = data
            length = line_length ).
        else.
          call method server->response->append_data( data = data
            length = bytes_rest ).
        endif.
        bytes_rest = bytes_rest - line_length.
      endloop.
    This will work.
    You can set the header fields like you want. Have also a look at sicf node contentserver
    and its handler: CL_HTTP_EXT_CSIF

  • How do I call browser Save As dialog box before downloading pdf files?

    How do I call browser Save As dialog box before downloading pdf files?
    Here's my favorite scenario:
    1. User clicks button
    2. Save As dialog displays
    3. User chooses location
    4. A set of PDF files download to that location OR a single zip file downloads
    Background:
    I want to ensure the user sees that files are being downloaded. I'm delivering content to users who may not be Web savvy.
    Concern:
    1. User has no clue how to find downloaded files or that files have even downloaded.
    2. I'd like to deliver the set as zip files. Not sure if self-opening zip files still exist.
    FYI:
    I'm using jQuery UI buttons. Not sure if that factors into response.

    Just for clarity, I'm not forcing a download. The user will click a button.
    Click a button or click a link, either way you're technically executing a script to force a download.
    I'm assuming that's the php file resident on the server.
    Yes but that's only part of it.  Once the contact form executes, another script is called up which opens the browser's download dialogue.
    Is there a php script for simply calling the Open/Save dialog box?
    Yes. 
    <?php
    /* This short script forces a file download.
       For simplicity, it's intended to be used for a single file.
       You can use multiple copies of this file (with unique names)
       with different variable values to use it with multiple files.
       Use of this script has a side-effect of hiding the location of the
       file on your server.
    // full server path to file to be downloaded (including filename)
    $Path2File = "path/to-file-on-server.zip";
    // the filename
    $theFileName = "name-of-file.zip";
    //the work gets done here
    header ("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    header ("Content-Type: application/octet-stream");
    header ("Content-Length: " . filesize($Path2File));
    header ("Content-Disposition: attachment; filename=$theFileName");
    readfile($Path2File);
    ?>
    Name this file zip2download.php.
    Add a link to your HTML page:
    <a href="zip2download.php">Download Zip</a>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • No longer able to download pdf files from websites.

    I am running Firefox 11.0 & Aurora on a Mac with OS X 10.6.8.
    I used to be able to download pdf files, such as my bank staements, direct from websites with no problem on either browser.
    Recently, when clicking on the link, the dialog box asking whether I want to save it or open it no longer appears and nothing else happens. Can't download. My wife has the same problem with a new Mac with OS x 10.7 Lion.
    I am also running an older version of Firefox 3.6.28 on a Mac with PPC processor & OS X 10.5.8. With this I have no problems downloading the pdf files I want.
    I have compared the Firefox preferences between the two machines and made them the same. Also found the ''Unable to download or save files'' link on Firefox Help and I have Reset the browser.download configs as it suggested. And nothing has changed.
    What to do? Anybody out there can help me? Thanks in advance.

    Okay, I think I fixed it by going to Add-ons Manager and disabling Adobe Acrobat NPAPI plug-in, version 10.1.3. Now I'm back to downloading PDFs, then opening or saving.

  • Opening downloaded pdf files using Adobe instead of in Safari

    I prefer to use full-feature Adobe software to view downloaded pdf files instead of Safari. How do I keep Safari from opening them in the browser and instead automatically open Adobe Reader when the search engine finds a pdf file?

    I have just installed Adobe Reader 9. I am getting frequent system hangs (cannot do anything without cold re-boot) when using the product, in particular when using forms documents provided by Companies House, a UK government agency.

  • When I download pdf files in Safari I get a black screen.  However, if I open a pdf in Mail it is viewable in Preview.  How do I fix this?

    When I download pdf files in Safari I get a black screen.  However, if I open a pdf in Mail it is viewable in Preview.  What is wrong?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste (command-V) into the text box that opens, then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    I've seen an unconfirmed report that the "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you might need to remove it as well, if applicable.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Safari won't open up downloaded pdf file

    Safari won't' open up downloaded pdf file but Firefox will.
    Model Name:          iMac
      Model Identifier:          iMac12,1
      Processor Name:          Intel Core i5
      Processor Speed:          2.5 GHz
      Number of Processors:          1
      Total Number of Cores:          4
      L2 Cache (per Core):          256 KB
      L3 Cache:          6 MB
      Memory:          4 GB
    Safari Version 6.1.1 (7537.73.11)
    Receive message;
    Adobe Reader could not open '2620522_rep.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    I've done the dance with going to Library/internet plug-ins and there isn't anything there that refers to Adobe. I only have 4 plug-ins anyway.
    Upload mgr
    Content mgr
    Picassa
    and RocketEngine (which I need to find out what that is and get rid of it if I don't need it.)
    I don't have Silverlight (which I hear will interfere).
    I've got Adobe set up in settings to update automatically. I went to Adobe regardless and went to install Adobe reader and it said I already had it installed.
    Anyone have an idea where to go from here?
    Thanks in advance...

    From the Safari menu bar, select
    Help ▹ Installed Plug-ins
    Besides the following, what plugins are listed?
    iPhotoPhotocast
    Java
    QuickTime
    Shockwave Flash
    WebKit built-in PDF (absent in OS X 10.9 and later)

Maybe you are looking for

  • Where to find the SQL text in v$ views?

    Hi All, Oracle 11.2.0.3 on RedHat. I am trying to find out SQL activity on my database for a very narrow time window. Please see the SQLs I did SQL> select distinct user_id, sql_id   2  from v$active_session_history   3  where sample_time between to_

  • Creating an multi-page, variable diptych package?

    My goal is to be able to have a set of diptych/triptych templates that allow me to create and preview multiple layout configurations in a single custom package. I started by creating 4 user templates, 600x447px diptych, 600x447 triptych, 447x600 dipt

  • Dropbox & mycloud

    Hi guys, Quick question I need to transfer quite a lot of photo's from and to a dropbox account using my My mirror. Now I would like to know if there is a way to do so without having to keep my computer on because it takes a lot of time. I've found t

  • Iphoto hogs my cpu, even when running in the background

    Hi, I can't leave iPhoto running in the background because it regularly uses 47% to 98% of my cpu (although there are times that it only uses 12%).  Eventually the computer heats up to over 200 degrees (F) and freezes, forcing a hard re-start.  I did

  • How to make comp be clever

    hi i have a static evaluation method which looks for the best algo for a comp for the game noughts and crosses: Does anybody have a better algo?? public Coords requestMove(Umpire theUmpire, GameBoard position)     int big = -100;     Coords c =null;