File download from one server does not work (other browsers work)

After uprading to Win7 and FF 7.0.1 the file download from our intranet server stopped working. IE 9 and Chrome 14 does not have any problems. When I try to open for exmple this URL:
https://wwwedu.oulu.fi/intra/?act=58&rnum=26241
I got only an error page:
Corrupted Content Error
The page you are trying to view cannot be shown because an error in the data transmission was detected.
The page you are trying to view cannot be shown because an error in the data transmission was detected.
Please contact the web site owners to inform them of this problem.
I have tested this with two separate computers and got some similar reports from students.
If there is is problem in the headers etc. of the server, I would be very pleased to know that, too!
Thank you very much
Eetu Pikkarainen

Thank you, the discussion in [https://bugzilla.mozilla.org/show_bug.cgi?id=681140 bug 681140] was informative.
(By redbot.org I found out that there was two Content-Disposition headers. They were identical, but other one had one space character more. When they were corrected to identical then douwnload work. Now I still have to find out why there are two...)

Similar Messages

  • CR2 files open from one camera, but not the other in CS2

    Running Mac with CS2. My camera raw files shot with my lovely Canon 5D open and can be viewed in bridge and in photoshop, but NOT the camera raw from my brand new Canon powershot G9. They are both producing CR2 files. I can see the images in the bridge browser window, but when I double click to open I get a dialogue box that says, "Could not complete your request because Photoshop does not recognize this type of file." I have the 3.7 plug in installed. Please, some god or goddess of photoshop out there, show me the error of my ways!

    Walt,
    I will answer your questions to the best of my ability. But hopefully others who are better at this than I am will offer their help as well. So, here goes.
    1. Everyone has their preferred method of using Bridge. In the Photoshop preferences I have not checked the box to have bridge start automatically. Although I use Bridge most of the time, there are occasions when I don't want to use it. So I prefer to start my Photoshop session by starting Bridge first, and then double-click on an image in Bridge to have it opened in Photoshop. In the Bridge preferences, I have checked the "Double-Click Edits Camera Raw Settings in Bridge", and I like working that way.
    2. I have seen several people comment about having this problem. And occasionally it will develop after you have been using Bridge/Photoshop for a while. The only thing I can suggest is for you to hold down the Ctrl key while you start Bridge. A dialogue will appear that will allow you to reset your preferences. There are three options and you should choose all three. I know, you haven't had it installed very long, but this "could" be the problem. One guy I talked with said that he had to do it several times before it fixed the problem.
    3. You indicated that you downloaded Camera Raw 4(5). What does that mean? Did you download version 4.5, which is the latest version? And, did you follow the installation instructions that were on the download page? The new plug-in must be put in the exact directory specified, replacing the old version that is already there. The old version cannot be put in a sub folder. You might as well get rid of it. You don't need it anymore. And, again, it has to go into the specific folder designated in the instructions. After you have done that, in Photoshop goto Help/About Plug-ins and click on Camera Raw. It should only be listed once, and when you click on it you should get a dialogue that will tell you what version you have installed.
    4. After I installed CS3, when I inserted a card into my card reader I was presented with the normal Windows options. One of the options I was given was to download using Bridge. I chose that option and indicated to always use that option. I haven't had any problems with it since. But if that option isn't there, you can open Bridge and click on the File menu. There is an option to download images from your camera. It has worked well for me.

  • I cannot install the trial for Acrobat XI Pro. The file downloaded fine, but it does not open. What can I do?

    I cannot install the trial for Acrobat XI Pro. The file downloaded fine, but it does not open. What can I do?

    For Windows:
    http://trials2.adobe.com/AdobeProducts/APRO/11/win32/AcrobatPro_11_Web_WWMUI.exe
    For MAC:
    http://trials2.adobe.com/AdobeProducts/APRO/11/osx10/AcrobatPro_11_Web_WWMUI.dmg
    ACROBAT XI

  • It is very difficult to navigate on facebook via safari. The IPAD does not allow other browsers to download and use it almost prevents the facebook app and the lack of scrolling the page.

    It is very difficult to navigate on facebook via safari. The IPAD does not allow other browsers to download and use it almost prevents the facebook app and the lack of scrolling the page.

    I also have problems with Facebook on my iPad 2. I don't do a lot with Facebook and generally only post on my feed page. Sometimes hitting return on the keyboard enters the comment, sometimes not. Sometimes the comment will show on my iPad but if I revisit that page I find that the comment has disappeared. So I'd say that Facebook and my iPad are not totally compatible with each other.
    I looked into Friendly and was about to purchase this free ap. But before I did I went to the Friendly web page for more info. There I found a page with users comments. One after another users complained about bugs with Friendly. The developers claimed a fix was coming but the user comments complained about the lack of response and support. One of the fixes suggested by the developers was to log out of Friendly then log back in. One user complained that doing this three times in ten minutes was not very helpful. Because of this I decided to avoid Friendly.
    I did find a Facebook developed ap but it was for the iPhone. I presume that iPhone aps will work on the iPad but I'll wait until Facebook releases an iPad compatible ap. If there is an ap developed by Facebook for the iPad that I missed please let me know.

  • File download from application server to presentation server

    Hi,
         We have requirment to upload a file to application server in .dbf format and then download it to presentation server.  while downloading the file to presentation server some of the fields  getting junk values.  we are downloading file to excel sheet.  some of the fields values are Russian texts.  Those fields only getting junk values, all other fields are getting correct values.
    Please advice.
    Regards,
    chandra.

    hi
    sample code below should help you......
    <u>Download to presentation server</u>
    This program can be used to download files from Application server to presentaion server.
    1)Maximum length of each field is considered to be 40 characters.
    2)Maximum length of the field can be changed by specifying the length in selection screen parameter
    3)First line of the Application server file should contain the description of each field.
    4)Each field should be delimited by #.
    *& Report ZDOWNLOADFILE *
    REPORT ZDOWNLOADFILE
    MESSAGE-ID B1 .
    INCLUDES *
    INCLUDE ZDOWNLOADFILE_TOP.
    INCLUDE ZDOWNLOADFILE_FORM.
    EVENT-AT SELECTION-SCREEN *
    AT SELECTION-SCREEN ON pa_appl.
    PERFORM check_file_exists USING pa_appl.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pa_appl.
    PERFORM f4_dxfilename USING pa_appl.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pa_pres.
    PERFORM f4_filename USING pa_pres.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pa_del.
    PERFORM f4_dxfilename USING pa_del.
    EVENT INITIALIZATION *
    INITIALIZATION.
    PERFORM initialization.
    EVENT START-OF-SELECTION *
    START-OF-SELECTION.
    PERFORM determine_fields. "Determine number of columns
    PERFORM build_itab. "Create internal table based on number
    "of columns
    PERFORM build_header. "To prepare header for the file
    PERFORM download_data. "Download data to presentation server
    PERFORM delete_files. "Delete files from application server
    *& Include ZDOWNLOADFILE_TOP *
    TYPES: BEGIN OF ty_header,
    text(100) TYPE c,
    END OF ty_header.
    DATA: c_fnh_mask type dxfields-filemask value '.',
    search_dir type dxfields-longpath value '/sapglobal/users'.
    CLASS cl_abap_char_utilities DEFINITION LOAD.
    Internal tables *
    DATA: gt_header TYPE STANDARD TABLE OF ty_header,
    gt_fieldcat TYPE lvc_t_fcat.
    Work areas *
    DATA: gs_header TYPE ty_header,
    gs_fieldcat TYPE lvc_s_fcat.
    DATA: wa_filename TYPE string.
    DATA: wa_count(2) TYPE N,
    wa_start(3) TYPE N,
    wa_end(3) TYPE N,
    wa_len(3) TYPE N.
    DATA: wa_data(12000) TYPE c,
    wa_off TYPE I,
    itab_appl TYPE REF TO DATA,
    itab_line TYPE REF TO DATA,
    col(2) TYPE c.
    DATA: wa_field(30) TYPE c.
    DATA: lv_index TYPE sy-tabix.
    DATA: gs_adrp type adrp,
    gs_usr02 type usr02,
    gs_usr21 type usr21,
    gs_char50(50).
    CONSTANTS: co_slash(1) value '/'.
    FIELD-SYMBOLS: <itab> TYPE STANDARD TABLE,
    <wa>,
    <fs_line>,
    <wa_line>.
    SELECTION SCREEN *
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-f01.
    PARAMETERS: pa_appl LIKE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE text-f02.
    PARAMETERS: pa_pres LIKE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE text-f03.
    PARAMETERS: pa_del LIKE rlgrap-filename .
    PARAMETERS: pa_deld AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK B3.
    SELECTION-SCREEN BEGIN OF BLOCK B4 WITH FRAME TITLE text-f04.
    PARAMETERS: pa_len(3) TYPE c.
    SELECTION-SCREEN END OF BLOCK B4.
    *& Include ZDOWNLOADFILE_FORM *
    *& Form f4_dxfilename
    text
    -->P_pa_appl text
    form f4_dxfilename using p_file.
    DATA: wa_file LIKE dxfields-longpath.
    CLEAR: wa_file.
    call function 'F4_DXFILENAME_TOPRECURSION'
    exporting
    i_location_flag = 'A'
    i_server = ' '
    i_path = search_dir
    filemask = c_fnh_mask
    fileoperation = 'R'
    importing
    o_path = wa_file
    exceptions
    rfc_error = 1
    error_with_gui = 2
    others = 3
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    else.
    p_file = wa_file.
    endif.
    endform. " f4_dxfilename
    *& Form f4_filename
    text
    -->P_pa_pres text
    form f4_filename using p_data.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
    PROGRAM_NAME = SYST-CPROG
    DYNPRO_NUMBER = SYST-DYNNR
    IMPORTING
    FILE_NAME = p_data
    endform. " f4_filename
    *& Form check_file_exists
    text
    -->P_pa_appl text
    form check_file_exists using p_file.
    DATA: wa_file LIKE rlgrap-filename.
    wa_file = p_file.
    OPEN DATASET wa_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc = 8.
    MESSAGE E714
    WITH text-m01 p_file text-m02.
    ELSE.
    CLOSE DATASET p_file.
    ENDIF.
    endform. " check_file_exists
    *& Form build_header
    text
    --> p1 text
    <-- p2 text
    form build_header .
    *Select user details
    clear gs_usr21-persnumber.
    select single persnumber
    into (gs_usr21-persnumber)
    from usr21
    where bname = sy-uname.
    concatenate sy-uname
    co_slash
    gs_adrp-name_text(36)
    co_slash
    into gs_char50.
    condense gs_char50.
    clear gs_usr02-class.
    select single class
    into (gs_usr02-class)
    from usr02
    where bname = sy-uname.
    concatenate gs_char50
    gs_usr02-class
    into gs_char50.
    condense gs_char50.
    Write report technical name
    write 'Name: ' TO gs_header+0(10).
    gs_header+11(*) = sy-repid.
    APPEND gs_header TO gt_header.
    CLEAR: gs_header.
    Write user data
    write 'User: ' TO gs_header+0(10).
    gs_header+11(*) = gs_char50.
    CONCATENATE gs_header gs_char50 INTO
    gs_header SEPARATED BY SPACE.
    APPEND gs_header TO gt_header.
    CLEAR: gs_header.
    Write System data
    write 'System: ' TO gs_header+0(10).
    write: sy-sysid to gs_header+11(3).
    write: co_slash to gs_header+14(1).
    write: sy-mandt to gs_header+15(3).
    APPEND gs_header TO gt_header.
    CLEAR: gs_header.
    Write System date and time
    write 'System: ' TO gs_header+0(10).
    write sy-datum to gs_header+11(10).
    write sy-uzeit to gs_header+22(8).
    APPEND gs_header TO gt_header.
    CLEAR: gs_header.
    Write Local date and time
    write 'Local: ' TO gs_header+0(10).
    write sy-datlo to gs_header+11(10).
    write sy-timlo to gs_header+22(8).
    APPEND gs_header TO gt_header.
    CLEAR: gs_header.
    APPEND gs_header TO gt_header.
    endform. " build_header
    *& Form determine_fields
    text
    --> p1 text
    <-- p2 text
    form determine_fields .
    DATA: wa_data(600) TYPE c.
    CLEAR: wa_count,wa_start,wa_end,wa_data.
    wa_start = 0.
    wa_end = 1.
    OPEN DATASET pa_appl FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    READ DATASET pa_appl INTO wa_data.
    wa_len = STRLEN( wa_data ).
    DO wa_len TIMES.
    IF wa_data+wa_start(wa_end) EQ
    cl_abap_char_utilities=>horizontal_tab.
    wa_count = wa_count + 1.
    ENDIF.
    wa_start = wa_start + 1.
    ENDDO.
    CLOSE DATASET pa_appl.
    wa_count = wa_count + 1.
    endform. " determine_fields
    *& Form build_itab
    text
    --> p1 text
    <-- p2 text
    form build_itab .
    DATA: wa_len(4) TYPE c.
    CLEAR: wa_len.
    IF pa_len IS INITIAL.
    wa_len = 40.
    ELSE.
    wa_len = pa_len.
    ENDIF.
    col = 1.
    DO wa_count TIMES.
    CONCATENATE 'FIELD' col INTO wa_field.
    gs_fieldcat-fieldname = wa_field.
    gs_fieldcat-outputlen = wa_len.
    gs_fieldcat-datatype = 'CHAR'.
    gs_fieldcat-col_pos = col.
    col = col + 1.
    APPEND gs_fieldcat TO gt_fieldcat.
    CLEAR: wa_field.
    ENDDO.
    *Create the internal table dynamically based on the file structure,
    *this table will be used to download data through GUI_DOWNLOAD fm
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING
    it_fieldcatalog = gt_fieldcat
    IMPORTING
    EP_TABLE = itab_appl
    *Assign the pointer to the field symbol
    ASSIGN itab_appl->* TO <itab>.
    CREATE DATA itab_line LIKE LINE OF <itab>.
    *Create a work area for the dynamic internal table
    ASSIGN itab_line->* TO <wa_line>.
    col = 1.
    OPEN DATASET pa_appl FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    DO.
    READ DATASET pa_appl INTO wa_data.
    IF sy-subrc <> 0.
    CLOSE DATASET pa_appl.
    RETURN.
    ELSE.
    wa_start = 0.
    lv_index = 1.
    DO wa_count TIMES.
    ASSIGN COMPONENT lv_index OF STRUCTURE <wa_line> TO <fs_line>.
    FIND cl_abap_char_utilities=>horizontal_tab
    IN wa_data+wa_start(*) MATCH OFFSET wa_off.
    IF sy-subrc = 0.
    IF wa_off NE 0.
    <fs_line> = wa_data+wa_start(wa_off).
    ENDIF.
    wa_start = wa_start + wa_off + 1.
    lv_index = lv_index + 1.
    ELSE.
    <fs_line> = wa_data+wa_start(*).
    ENDIF.
    ENDDO.
    APPEND <wa_line> TO <itab>.
    CLEAR: <wa_line>,<fs_line>.
    ENDIF.
    ENDDO.
    endform. " build_itab
    *& Form download_data
    text
    --> p1 text
    <-- p2 text
    form download_data .
    clear: wa_filename.
    wa_filename = pa_pres.
    call function 'GUI_DOWNLOAD'
    exporting
    filename = wa_filename
    filetype = 'DAT'
    tables
    data_tab = gt_header
    exceptions
    access_denied = 15
    call function 'GUI_DOWNLOAD'
    exporting
    filename = wa_filename
    filetype = 'DAT'
    append = 'X'
    tables
    data_tab = <itab>
    exceptions
    access_denied = 15
    endform. " download_data
    *& Form initialization
    text
    --> p1 text
    <-- p2 text
    form initialization .
    REFRESH: gt_header,gt_fieldcat,gt_header.
    endform. " initialization
    *& Form delete_files
    text
    --> p1 text
    <-- p2 text
    form delete_files .
    IF pa_deld EQ 'X'.
    DELETE DATASET pa_appl.
    ENDIF.
    IF pa_del IS NOT INITIAL.
    DELETE DATASET pa_del.
    ENDIF.
    endform. " delete_files
    <b>reward points if helpful.</b>
    thanks
    vijay

  • EAR file download from PI server

    Hi Experts,
    we have deployed a adapter module in our Quality system sometime back directly from NWDS using SDM.
    As I didnt had the backup of my EAR file and my system got crashed, i lost the code.
    Please let me know where can i download(Folder location on server)  the same EAR file or jar file from PI server
    We are using PI7.0 on Unix
    Thanks in advance

    Dear all -Thanks for the replies.
    We downloaded the EAR file from the server, but when i was trying to deploy the same EAR on to our sandbox, its throwing error as below:
    The reason is: Error occurred, trying to collect module archives with ws clients. .
    ine.services.webservices.server.deploy.wsclient.WSClientsDeployManager.collectWSClientsModuleArchives(WSClientsDeployManager.java:374)     at com.sap.engine.services.webservices.server.deploy.wsclient.WSClientsDeployManager.deploy(WSClientsDeployManager.java:56)     at com.sap.engine.services.webservices.server.deploy.WSDeployer.deploy(WSDeployer.java:158)     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)     at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)     at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3186)     at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:554)     at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)     at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)     at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)     at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(AccessController.java:219)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)Caused by: java.util.zip.ZipException: Error opening zip file /usr/sap/XIS/DVEBMGS00/j2ee/cluster/server0/./temp/deploy/work/deploying/reader1307647455780/sapxmltoolkit.jar     at java.util.zip.ZipFile.open(Native Method)     at java.util.zip.ZipFile.<init>(ZipFile.java:140)     at java.util.jar.JarFile.<init>(JarFile.java:160)     at java.util.jar.JarFile.<init>(JarFile.java:125)     at com.sap.engine.services.webservices.server.deploy.util.jar.JarUtil.hasEntry(JarUtil.java:68)     at com.sap.engine.services.webservices.server.deploy.wsclient.WSClientsFactory.containsWSClientsSingleMode(WSClientsFactory.java:797)     at com.sap.engine.services.webservices.server.deploy.wsclient.WSClientsFactory.containsWSClients(WSClientsFactory.java:782)     at com.sap.engine.services.webservices.server.deploy.wsclient.WSClientsDeployManager.collectWSClientsModuleArchives(WSClientsDeployManager.java:366)     ... 19 more (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment of FileModuleEAR finished with Error (Duration 9982 ms)
    Does this  error means that the EAR is being used by other component , i mean as we downloaded this EAR from our quality box, does this has some depencies/references created on the EAR and thus erroring out when trying to deploy the same in sandbox?
    We are using SDM for deployment.
    Thanks in advance,

  • Excel File downloaded from application server is also opening in notepad

    Hi Friends,
    While downlaoding an excel file from the application server,we are able to open in notepad also.But this does not conatin the excel properties and hence happening.File should only oopen with excel and no other file type
    Can any open help on this
        ld_file =  '/usr/sap/trans/abap/HR_DATA.xls'.
        OPEN DATASET ld_file FOR OUTPUT in text mode ENCODING DEFAULT .
        IF sy-subrc = 0.
          LOOP AT int_final.
            CLEAR wa_string.
            CONCATENATE int_final-employee_sno int_final-employee_code INTO wa_string SEPARATED BY con_tab.
            CONCATENATE wa_string int_final-first_name         INTO wa_string SEPARATED BY con_tab.
    please help...
    Edited by: Neliea on Oct 29, 2009 1:11 PM

    Hi,
    Please refer to these links.
    [url]Re: Internal table to excel download?;url]
    [url]Re: Transfer from Internal Table to EXCEL file...;url]
    Regards,
    Aditya

  • File download from the server

    I have this page(in a distributive application) that checks the status of files on the server. These are hyperlinked and I am trying to allow the users to download the files. I can see the files, and the links but can't download a file or "save target as.." option.
    I have added an .xml file in the configuration directory of my application server(JBoss). I can download the files on the same computer, but if I can't do that from other computer. I got this .xml file from online search, someone suggested to use this in order to allow for download option.
    <?xml version='1.0' encoding='utf-8'?>
    <Context debug="99" docBase="/home/jboss-4.0.5.GA/bin/Fastran" path="/Fastran" reloadable="true">
    </Context>Can I get some help in this regard ? The files are created in the application server folder, should I change the destination for resultant files outside of the server folder ?
    Thanks.

    <%
            String userFolder = applicationId.getUserEmail() + applicationId.getSessionId() ;
            for (int i = 0 ; i < Integer.parseInt(applicationId.getSpecValue()) ; i ++)
                int j = i + 1 ;
                File spec = new File("C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + userFolder + "\\ftn07_" + (i+1)) ;
                if (spec.exists() == true)
                    //out.println("") ;
                %>
                <a href = "<%= destFile %><%= j %>"><% out.println("ftn07_" + j); %></a><br>
                <%
                else
                    out.println("File not found") ;
        %>
    and here is how i get to the destFile:
    <%
         String destFile = "C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + applicationId.getUserEmail() + applicationId.getSessionId() + "\\ftn07_" ;
            String destSum = "C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + applicationId.getUserEmail() + applicationId.getSessionId() + "\\DamageSummary.txt" ;
        %>

  • FedEx Sun One server does not allow POST

    Hello,
    I am attempting to communicate with FedEx's Direct XML Track. They use a Sun One Server v. 6.1 w/ SSL. When I do a POST with my XML document, I get back a 504, Method Not Allowed. Have communicated with FedEx technical support to no avail. Have downloaded server 6.1 and installed, trying to reverse-problem solve. Cannot see anywhere in the server where POSTs might be set to prohibited. The FedEx documentation specifically says to use a POST, which of course makes sense. Has anyone successfully used FedEx XML Direct, and/or could supply me with a hint as to why this might be happening? Also, am URL-encoding the reuest. Here's the code:
    public class FedexHTTPS {
    static final int HTTPS_PORT = 443;
    public static String enc = "encoding='UTF-8'";
    public static String subRequest = "<?xml version = '1.0' encoding = 'UTF-8'?><RequestHeader><AccountNumber>xxxxxxxxx</AccountNumber></RequestHeader>     <Contact><PersonName>name </PersonName><CompanyName>Ubercom</CompanyName><Department>ActiveIdentity</Department><PhoneNumber>xxxx</PhoneNumber><E-MailAddress>[email protected]</E-MailAddress></Contact><Address><Line1>12 main st</Line1><Line2/><City>Leesburg</City><StateOrProvinceCode>VA</StateOrProvinceCode><PostalCode>20111</PostalCode><CountryCode>US</CountryCode></Address></FDXSubscriptionRequest>>";
    public static String address = "gatewaybeta.fedex.com";
    public static void main(String argv[]) throws Exception {
    String encData=null;
    try {
    encData = URLEncoder.encode(subRequest,"UTF-8");
    } catch (Exception ex){
    System.out.println("Exception: " + ex.getMessage());
    //System.out.println(encData);
    int length = encData.length();
    // Get a Socket factory
    SocketFactory factory = SSLSocketFactory.getDefault();
    // Get Socket from factory
    Socket socket = factory.createSocket(address, HTTPS_PORT);
    /*BufferedWriter out = new BufferedWriter(new
    OutputStreamWriter(socket.getOutputStream())); */
    BufferedReader in = new BufferedReader(
    new InputStreamReader(socket.getInputStream()));
    OutputStream out = socket.getOutputStream();
    String xmlEnc = "application/x-www-form-urlencoded";
    String msg = "GET / HTTP/1.0\r\nContent-Length: " + length
    + "\r\nContent-Type: image/gif"
    + "\r\nReferer: www.EDS.com"
    + "\r\nHost: SSLserver.fedex.com"
    + "\r\nAccept-Encoding: image/jpeg"
    + "\r\nAccept: application/x-www-form-urlencoded, image/gif,image/jpeg,image pjpeg, text/plain,text/html/,*/*"
    + "\r\n\r\n" ;
    out.write(msg.getBytes());
    out.flush();
    String line;
    StringBuffer sb = new StringBuffer();
    while((line = in.readLine()) != null) {
    sb.append(line);
    out.close();
    in.close();
    System.out.println(sb.toString());
    }

    I cleaned up the XML (thanks) and re-did using jakarta - still get the 504 Not Allowed....
    public class FedexPost {
          public static String subRequest = "<?xml version="1.0" encoding="UTF-8"?><FDXSubscriptionRequest>     <RequestHeader>          <AccountNumber>1111111111</AccountNumber>     </RequestHeader>     <Contact>          <PersonName>name</PersonName>          <CompanyName>EDS</CompanyName>          <Department>ActiveIdentity</Department>          <PhoneNumber>7037773333</PhoneNumber>          <E-MailAddress>[email protected]</E-MailAddress>     </Contact>     <Address>          <Line1>10 Main St</Line1>          <Line2/>          <City>Anytown</City>          <StateOrProvinceCode>VA</StateOrProvinceCode>          <PostalCode>20175</PostalCode>          <CountryCode>US</CountryCode></Address></FDXSubscriptionRequest>";  
        public FedexPost() {
         * @param args the command line arguments
        public static void main(String[] args) {
            String encData=null;
            try {
               encData = URLEncoder.encode(subRequest,"UTF-8");
            } catch (Exception ex){
                System.out.println("Exception: " + ex.getMessage());
            // TODO code application logic here
            HttpClient httpclient = new HttpClient();
            PostMethod httpsPost = new PostMethod("https://gatewaybeta.fedex.com/");
            httpsPost.setRequestHeader("Connection", "close");
            try {
                httpsPost.setRequestEntity(new StringRequestEntity(encData, "application/x-www-form-urlencoded", "UTF-8"));
                httpclient.executeMethod(httpsPost);
                System.out.print(httpsPost.getStatusLine());
                System.out.println(httpsPost.getResponseBodyAsString());
            catch (IOException ex) {
                System.out.println(ex.getMessage());
            finally {
                httpsPost.releaseConnection();
     

  • Files downloaded from assets, market are not opening, why is that?

    Hi,   
    Today I had downloaded some of the files from CC assets, market, but when I open the files, i get this message: "Could not complete your request because an unexpected end-of-life was encountered"....could I if this is the files issue or the software?         

    IMpossible to tell. From flaky internet connections to damaged storage devices to simply using an unsuitable browser anything could be at play.
    Mylenium

  • UD Connect from SQL Server does not parse semicolons

    Hi,
    I am trying to retrieve data from SQL Server database using UD Connect and a Remote Cube.
    The data comes over and the string looks like this:
    '07;2005;LOC;2345.45;Comment'
    The first field is defined as 10 varchar in SQL Server so my Infoobject is also 10 char long.
    However when I use LISTCUBE or a query the field contains the first 10 characters: '07;2005;LOC' and the second field picks up from the next character.
    When the SQL Server definition of the field was changed to char(10) the first field was OK but the second field in BW started with ';'.
    It looks like that the ';' is not interpreted as the divider between fields.
    Does anybody know how to overcome this issue?
    Thanks for your help,
    Tamas Nagy

    Hi Anwesa,
    I have the same problem on BW 3.5 Service pack 17 with J2EE servic pack 18 -
    is there a general olution to the problem?
    thanks for any help in advance,
    brgds Thom

  • Export for web files play on one server, but not on another.

    I exported my movie from QT Pro 7.6.6 and it created all the files I need. I have the movie "sniffer"(movie that determines which version to pull up depending on device) and then the sub movies. When I go straight to the sniffer in Safari with the files on my client's server, the movie plays fine. When I do the same from my iPad or iPhone, it won't play from that server.
    If I move the exact same files to another server and go to the sniffer, the movie plays on all devices. Could there be some sort of server setting preventing them from being played on my client's server?
    If so, what specifically needs to change on the server?
    -Kirk

    Anybody? Bueller? Bueller?

  • Deleting mail from one app and not the other

    Hi,
    I'm using Outlook 2011 on my Mac Pro and Apple Mail on my laptop. Outlook has a feature where you can "Delete copies from the server (After Deleting From This Computer)".
    I've looked everywhere but Mail doesn't have this feature. How can I tell Mail to do the same as Outlook?
    Thanks!

    You are mixing two things -- server vs second computer. I have assumed this is a POP account because the option you mention is associated with POP accounts. Were it an IMAP account, then the Inbox resides on the server and if a message is deleted, no matter from what computer, it will be gone from the Inbox and server, and you would not have needed to ask the question.
    So assuming it is a POP account, there is no email client -- Outlook included -- that will delete a message that has already been downloaded onto another computer from that second computer. What can be done, consistent with your original question, is that instructions can be given to remove the message from the POP3 server upon certain actions on any computer that has downloaded the message.
    Where you see the option to remove from the server after one week, there is also the option to remove from the server when moved from the Inbox. Deleting is but one action that will remove a message from the Inbox, but this option if selected will then remove the message from the server.
    Is this clear now?
    Ernie
    Message was edited by: Ernie Stamper

  • CS6 & OSX 10.6.8 - saving files directly to the server does not work (most of the time)

    Hi there,
    we just switched from OSX 10.5.8 to 10.6.8
    OSX was installed on a new partition of the harddisk
    Then installed CS 5
    Then installed CS 6 via (adobe creative cloud)
    With CS6 we got also the problem with saving files to the server (program error)
    It happens mostly with photoshop, sometimes with Illustrator.
    I read a lot of posting regarding the same problem but didn´t found a real solution yet.
    I am also wondering that there seems to be no solution for this now, because most of the posting i read are 1 year old.
    Working locally is not really an acceptable workaround for us or anyone who needs to work with Creative Suite in a professional way.
    Our MACs…
    MAC Pro 4.1
    OSX 10.6.8
    Virtualized Server Solaris 10 with Helios UB+
    connected to server with afp://Server IP Adress
    Adobe Software
    CS 5 & CS 6
    Here´s some additional information from the osx system profiler:
    Hardware-Übersicht:
      Modellname:          Mac Pro
      Modell-Identifizierung:          MacPro4,1
      Prozessortyp:          Quad-Core Intel Xeon
      Prozessorgeschwindigkeit:          2,26 GHz
      Anzahl der Prozessoren:          2
      Gesamtzahl der Kerne:          8
      L2-Cache (pro Kern):          256 KB
      L3-Cache (pro Prozessor):          8 MB
      Speicher:          10 GB
      Geschwindigkeit für Prozessorverbindungstyp:          5.86 GT/s
      Boot-ROM-Version:          MP41.0081.B07
      SMC-Version (System):          1.39f5
      SMC-Version (Prozessormodul):          1.39f5
      Seriennummer (System):          CK9120Z98Q0
      Seriennummer (Prozessormodul):          J590807P51LUC    
      Hardware-UUID:          30149BDB-582E-583A-B776-59A6DEA2A32C
    Ethernet 1:
      Typ:          Ethernet
      Hardware:          Ethernet
      BSD-Gerätename:          en0
      IPv4-Adressen:          192.9.200.120
      IPv4:
      Adressen:          192.9.200.120
      Konfigurationsmethode:          Manuell
      Schnittstellen-Name:          en0
      Netzwerksignatur:          IPv4.Router=192.9.200.203;IPv4.RouterHardwareAddress=00:30:48:ba:70:30
      Router:          192.9.200.203
      Teilnetzmasken:          255.255.255.0
      DNS:
      Such-Domains:          floramedia.int
      Serveradressen:          192.9.200.7, 194.25.0.68
      Ethernet:
      MAC-Adresse:          00:23:df:df:96:e1
      Medienoptionen:          Voll-Duplex
      Medien-Untertyp:          1000baseT
      Proxies:
      Ausnahmeliste:          *.local, 169.254/16
      Passiver FTP-Modus:          Ja
      Reihenfolge der Dienste:          0
    Überblick über die Systemsoftware:
      Systemversion:          Mac OS X 10.6.8 (10K549)
      Kernel-Version:          Darwin 10.8.0
      Startvolume:          MAC_OSX_10_6_x_SNOW-LEOPARD
      Startmodus:          Normal
      Gerätename:          Freelancers Mac Pro 10.6.8
      Benutzername:          DENNIS (freelancer)
      Sicherer virtueller Speicher:          Nicht aktiviert
      64-Bit-Kernel and -Erweiterungen:          Nein
      Zeit seit dem Start:          8:09

    Hi franverdi-
    It sounds like you've run into issues from the upgrade. I've found a Support article that helps with issues of not being able to connect after an upgrade:
    [[Cannot connect after upgrading Firefox]]
    I hope that helps!

  • Files Migration from one server to another server and run the application

    Hi All,
    We have four environments in our firm, Dev, test, pre-prod and prod. We have completed installation of weblogic in dev(server1) and testing(Server2) environments in with linux OS. Now we are preparing to install on pre-prod
    My questions is : Whether I can copy all the file systems( Have two file systems /opt/bea and /domain/weblogic) from testing(Server2) to pre-production without installing weblogic server. If yes what are the changes I need to do . Kinldy give full details. Thanks in advance
    Note : File systems, IDs, permissions all are same from dev to pre-prod
    Regards,

    Hi Ram,
    Yes you can copy entire package and put that one there.
    Use pack and unpack command check below link for further assistance.
    http://docs.oracle.com/cd/E13179_01/common/docs92/pack/commands.html
    Apart from file permission you can check Java home that's it.
    Regards,
    Kal

Maybe you are looking for