Download files to mobile with HTTP or sockets

I'm new in j2me, but i need download files from web-server to mobile.
please help me.

what kind of file you want to download? How large they are?
If you server as the file, just Open A FileInputStream and read bytes by chunk of lets say 50K and send those bytes through your socket.

Similar Messages

  • BO Mobile with HTTPS

    Hi Mobile Experts,
    we need you valuable inputs to solve one of issue in the Mobile devices.
    we are in SAP BI 4.0 SP6 and we have Enabled Business objects environment to access thorough the internet(https) and intranet(http).
    Our MObile BI service product version is productVersion="14.0.6.1036;
    Mobile client version 5.1.32 in Android and 5.1.8  in IOS.
    we have noticed below issue when we connect to BO environment from the internet.(https)
    MOB06031 when trying to connect to BI 4.0 server from SAP BI Mobile App using HTTPS. Mobile client is requesting forPersonal Information Exchange (.pfx) of CA SSL of Web url.
    where ever same client is connecting to the BO environment in intranet (http) and working fine.
    we have gone through few of the notes for the same issue
    http://service.sap.com/sap/support/notes/1658001
    http://service.sap.com/sap/support/notes/1962026
    1)
    it was suggested to installo root certificate of web server to be installed in Mobile Device.
    or
    2)
    Remove the proxy configuration from Mobile Device OR add https://<servername>:8080/ under browser's exception list.
    I will be working wih web hosting team to have the root certificate of web server as peremenant solution.( 1st option)
    in the meanwhile can any one explain how to Remove the proxy configuration from Mobile Device OR add https://<servername>:8080/ under browser's exception list in the Mobiel Device.( Andriod and IOS)
    I would request you to share experience to get of my issue
    Below are the screenshots.

    Hi Durga,
    in intranet we will have HTTP it is working fine.
    in Internet HTTPS. issue occurs.
    Previously we are using the mobile client version which less than 5.1 Release. we never had any issue with HTTP or HTTPS.
    Today we have upgraded mobile client to 5.1.32. And issue started occurring.
    we are not using any VPN to connect. our web url is enabled in internet to access the reports.
    Note:we have verified the web url in the internet by connecting it from other system which is out of our network. There launchpad/CMS are working fine without having any issue with HTTPS.
    Only issue in Mobile Device.
    Refer the below notes to have some more information.
    http://service.sap.com/sap/support/notes/1658001
    http://service.sap.com/sap/support/notes/1962026

  • Download file in mobile application

    Hi:
    It's understood that setting up a download link from a custom table is accomplished via the following -
    [from http://docs.oracle.com/cd/E14373_01/appdev.32/e13363/up_dn_files.htm#CIHBFCDH ]
    Create Download Page for Embedded PL/SQL Gateway
    The Oracle XML DB HTTP Server with the embedded PL/SQL Gateway is typically used for Application Express in Oracle Database 11g. Calling a PL/SQL procedure directly from a URL that is not known in a list of allowed procedures, as shown in Change the Download Link to Use the New Procedure, results in an error message.
    To avoid this situation, there are a couple of available options. The first option is to modify the PL/SQL function WWV_FLOW_EPG_INCLUDE_MOD_LOCAL to include the PL/SQL download_my_file procedure and then recompile. The second, described below, is to create a page in the application that has a before header branch to the PL/SQL download_my_file procedure. You then create a hidden item on that page for the document ID of the document to be downloaded.
    I have been using the great new tools in 4.2 to create mobile applications with much success on a 4.2.0.00.27 platform. However, when I set up a download page as prescribed, the result on my Samsung Galaxy S3 is not user-friendly on either Firefox or the Google browser. When the user clicks on a download link, the result is a blank page with the word "undefined". If the user reloads the page, then a message appears briefly "Starting download..." If the user then opens the "pull down menu" the download appears in the Notifications section. So it works, but it's not intuitive or even easy to figure out what happened.
    Does anyone have any knowledge of this? Is there some way to control the message on the "undefined" page? Is there a way to cause the smartphone to automatically open the file?
    Thanks all!
    Bill

    Hi Bill,
    This could potentially be an issue with jQuery Moble's AJAX navigation. By default, jQuery Mobile loads pages via AJAX to allow for smooth page transitions. This means that instead of doing a full page load for the next page, jQuery Mobile loads that page into the DOM of the current page and then replaces the content via JavaSript.
    Since APEX 4.2 is using jQuery Mobile for the mobile templates, the same is true of APEX pages that you navigate to from a mobile page, as well as links to other content, such as your file download. One way to circumvent this would be to defined you links as: "javascript:location.href=([your link]);" instead of just a plain link. Depending on your specific implementation, there are also other jQuery Mobile settings that would allow for having link targets not be loaded via AJAX. Take a look at rel="external" and data-ajax="false" in the jQuery Mobile documentation, and see what might apply to your scenario:
    http://jquerymobile.com/test/docs/pages/page-links.html
    Regards,
    Marc

  • Error Unexpected end of file from server with HTTP POST

    Hi everyone,
    I'm coding a simple client to download some information from a local machine in my LAN.
    I have to do this with an http post request.
    When i try to parse the http response the program catch an exception, this one:
    java.net.SocketException: Unexpected end of file from server
    at sun.net.www.http.HttpClient.parseHTTPHeader(...)
    the parameter is a JSON request, and of course the response is a JSON formatted.
    i put the http request code:
    import java.io.BufferedInputStream;
    import java.io.BufferedReader;
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.HttpURLConnection;
    import java.net.URL;
    public class HttpDownloaderThread  extends Thread{
         private String url;
            private String param;
         private HttpDownloadListener listener;
         private HttpURLConnection connection=null;
         private InputStream is;
            private OutputStreamWriter wr;
         public HttpDownloaderThread(String _url,String param, HttpDownloadListener _listener){
              url = _url;
              listener = _listener;
                    this.param=param;
         public void run(){
              try{
                   connection=(HttpURLConnection)new URL(url).openConnection();
                            connection.setRequestMethod("POST");
                            connection.setReadTimeout(5000);
                            connection.setRequestProperty("Content-Type", "application/jsonrequest");
                            connection.setDoOutput(true);
                            wr = new OutputStreamWriter(connection.getOutputStream());
                            wr.write(param, 0, param.length());
                            wr.flush();
                            int responseCode=0;
                   System.out.println();
                            try{
                             responseCode= connection.getResponseCode();
                            }catch(Exception e){
                                e.printStackTrace();
                   if (responseCode == HttpURLConnection.HTTP_OK){
                        is = connection.getInputStream();
                                     BufferedReader rd = new BufferedReader(new InputStreamReader(is));
                                    String line;
                                    while ((line = rd.readLine()) != null) {
                                        System.out.println(line);
                        closeHttpConnection();
                        listener.resourceDownloaded(url, null);
                                else{
                                closeHttpConnection();
                                listener.downloadFailed(url, new Exception("Http error: " + Integer.toString(responseCode)));
              }catch(Exception e){
                   e.printStackTrace();
                   listener.downloadFailed(url, e);
              }finally{
         public void closeHttpConnection(){
              if (is != null){
                   try{
                        is.close();
                                    wr.close();
                   }catch (Exception e){
                   }finally{
                        is = null;
                                    wr=null;
              if (connection != null){
                   try{
                        connection.disconnect();
                   }catch (Exception e){
                   }finally{
                        connection = null;
    }there's someone who know's why??
    Thanks to everyone :)
    Thomas.

    jole_star wrote:
    this problem also happen to me,.So since you provided actually no information about your problem you are going to get exactly the same response.
    Please don't hijack old threads. Start your own and provide much much much more information.
    I shall lock this thread.

  • Download file thru excel with password

    Hello ABAPers,
    I used the EXCEL_OLE_STANDARD_DAT with password protected...my problem is .once this fm executed...the excel file appeared and sheets are not read only..Id like to do,once the file is downloaded to excel...and FM was executed...the excel file must not appear to the user..how can i done this using this FM ?
    please hellllllppppp....
    Thanks in advance..
    will reward points to good answers
    aVaDuDz

    Hello Atish,
    Thanks for the reply...If its not possible..is there any FM that i can use to download excel...and much possible protected by password? i tried other FMs...like GUI_DOWNLOAD.WS_EXCEL..but this EXCEL_OLE_STANDARD_DAT fit my requirements..but it automatically open the excel file which is supposed to be hide to the user ..for security purpose.
    Thanks in advance..
    aVaDuDz

  • How can I make Firefox stop setting all downloaded files to "Share with nobody"?

    For the last few months, every file I download with Firefox has its homegroup share option set to "Share with nobody". All my user accounts are administrator level, I have the sharing set properly in the destination file, and I am using FF 27.0.1. I have set the "scan when done" and "save zone information" to false in about:config. I have always had FF set to ask me where to save a download every time, and I've only had this problem recently. A couple topics said that this would be fixed in 27, but it is not for me.

    The problem is created by using the temp folder, which is locked to the current user. Instead of copying the file from the temp folder, pasting to the desired download location, then deleting the file from the temp folder, Firefox uses a faster move command (when the destination is on the same drive as the temp folder). That move command does not rewrite the permissions to match the destination.
    I think someone tried to work around this by making the permissions on the temp folder more liberal, but I don't think that worked or at least I don't recall anyone proclaiming success with that. (I don't think it's possible to force Firefox to use a folder other than the system temp folder.)

  • Upload and Download Files in an Application

    hi,
    I'm use Application Express 2.1.0.00.39 and the procedure " How to Upload and Download Files in an Application" :
    http://download-west.oracle.com/docs/html/B16376_01/up_dn_files.htm#sthref177
    I do not find the following tables or view:
    HTMLDB_APPLICATION_FILES or wwv_flow_file_objects$.
    which it is my error?
    thanks.
    Luigi

    The documentation was for version 2.2. I could not find a 2.0 version of this howto:
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/up_dn_files.htm#CIHCFCHF
    However, I did find the correct name of the view for my version, HTMLDB_APPLICATION_FILES
    After following the instructions in the above-mentioned "how to" (uploading and downloading files), I am a getting a html 403 error (You are not authorized to view this page) when I try to download from my custom table using the procedure specified in the howto.
    I've granted execute on the procedure to public only (as specified in the doco).
    err nvm. This has already been answered,
    http://download-west.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25309/adm_wrkspc.htm#BEJCGJFJ.
    Message was edited by:
    user507810

  • Cannot download files from private published site

    I am using the "published site private" option settings to control user access with a user name and password.  This site has a page with links to pdf files stored on my me.com account.  The pdf items are to be opened and downloaded by users who access this page through the security settings.
    With the security settings removed the process to download files works OK
    With security settings enabled, the user name and password successfully open the site but the pdf items will not open and cannot be downloaded.
    What am I doing wrong?

    You can protect PDF files with a password and user name.  When you go to save the document as a PDF file, i.e. Print ➙ PDF ➙ Save as PDF, there will be a window to set password and user name.
    Click to view full size
    That would work for files to be downloaded but not for the pages themselves. 

  • Cannot download file over https behind firewall ?

    I have a program to download files :
    public class TestServlet
         public static void main(String args[]){
        Authenticator.setDefault(new AuthImpl());
         if (args.length!=2){
          System.out.println("Proper Usage: java -Dhttp.proxyHost=172.21.32.166 -Dhttp.proxyPort=80 TestServlet RemoteFileURL LocalFileName");
           System.out.println("Usage Example:java -Dhttp.proxyHost=199.67.138.83 -Dhttp.proxyPort=8080 TestServlet https://url.com/csv/file.zip file.zip");
          System.exit(0);
         DataOutputStream out=null;
         FileOutputStream fOut=null;
         try
          trustAllHttpsCertificates();
          String urlStr = args[0];
              HostnameVerifier hv = new HostnameVerifier() {
                   public boolean verify(String urlHostName, SSLSession session) {
                        System.out.println("Warning: URL Host: "+urlHostName+" vs. "+session.getPeerHost());
                        return true;
             HttpsURLConnection.setDefaultHostnameVerifier(hv);
              System.out.println("\nConnecting to Website . . . "+urlStr);
              URL url = new URL(urlStr == null ? "https://url/Downloads/WC.csv" : urlStr);
              System.out.println("\nConnecting . . . . ");
              BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
              System.out.println(". . . Connected");
              System.out.print("\nDownloading the file . . . ");
              int buff;
              fOut=new FileOutputStream(args[1]);
              System.out.print(" . .");
              out=new DataOutputStream(fOut);
              System.out.print(" . .");
              while ((buff = in.read()) != -1) {
                fOut.write(buff);
              in.close();
            System.out.println(" . . . Done \n");
          catch (Exception e) {
                e.printStackTrace();
           finally {
              try{
                   fOut.flush();
                   fOut.close();
                   System.exit(0);
               catch(Exception e){
                   e.printStackTrace();
        HostnameVerifier hv = new HostnameVerifier()
            public boolean verify(String urlHostName, SSLSession session) {
                //System.out.println("Warning: URL Host: " + urlHostName + " vs. " + session.getPeerHost());
                return true;
        private static void trustAllHttpsCertificates() throws Exception
             //  Create a trust manager that does not validate certificate chains:
            javax.net.ssl.TrustManager[] trustAllCerts =  new javax.net.ssl.TrustManager[1];
            javax.net.ssl.TrustManager tm = new miTM();
            trustAllCerts[0] = tm;
              javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
            sc.init(null, trustAllCerts, null);
            javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
        public static class miTM implements javax.net.ssl.TrustManager, javax.net.ssl.X509TrustManager {
            public java.security.cert.X509Certificate[] getAcceptedIssuers() {
                return null;
            public boolean isServerTrusted(java.security.cert.X509Certificate[] certs) {
                return true;
            public boolean isClientTrusted(java.security.cert.X509Certificate[] certs) {
                return true;
            public void checkServerTrusted(java.security.cert.X509Certificate[] certs, String authType)
                    throws java.security.cert.CertificateException {
                return;
            public void checkClientTrusted(java.security.cert.X509Certificate[] certs, String authType)
                    throws java.security.cert.CertificateException {
                return;
       public static class AuthImpl extends Authenticator {
       protected PasswordAuthentication getPasswordAuthentication() {
          String username = new String("guest");
    String password = new String ("guest");
           return new PasswordAuthentication(username, password.toCharArray());
    }This program works fine for downloading files, over both http and https from my home. When I run this on my desktop in the office it can download files over http, but cannot download https files.
    When I try to download files over https, I get the foll. exception:
    java.net.UnknownHostException: www.site.com
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
    at java.net.Socket.connect(Socket.java:452)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(DashoA12275)
    at sun.net.www.protocol.https.HttpsClient.doConnect(DashoA12275)
    There are 2 differences here, one being that my office desktop sits behind a firewall and there is a proxy in between.
    In the office I run the program as :
    java -Dhttp.proxyHost -Dhttp.proxyPort TestServlet URL [filename]
    eg.:
    java -Dhttp.proxyHost=235.67.138.84 -Dhttp.proxyPort=8080 TestServlet https://site.com/portal/Downloads/file.csv file.csv
    This url requires authentication, the userid and pwd are hardcoded in the code.
    Now, my problem is I cannot understand why this error would come. Is it because of the firewall or because of the proxy ?
    Why is it that I can download over http successfully from my office desktop? If the problem is with the firewall or proxy, then even http protocol urls should give the same problem.
    Please help.
    Vinay
    Message was edited by:
    vinay_dsouza
    Message was edited by:
    vinay_dsouza

    If you are using HTTPS you should be setting
    https.proxyHost
    https.proxyPortnot the http.* ones.

  • How to download  file with Save As dialog

    I am trying to download files with a Save As dialog, according to Jason Hunter's instructions in Jave Enterprise Best Practices.
    String filename = "content.txt";
    // set the headers
    res.setContentType( "application/x-download" );
    res.setHeader( "Content-Disposition", "attachment; filename=" + filename);
    // send the file
    OutputStream out = res.getOutputStream();
    returnFile( filename, out);
    The file content.txt is in the root directory of my webapp. But I get this stack:
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.io.FileNotFoundException: content.txt (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.(FileInputStream.java:64)
         at com.interwoven.cssdk.examples.servlets.FileDownloadServlet.returnFile(FileDownloadServlet.java:43)
         at com.interwoven.cssdk.examples.servlets.FileDownloadServlet.doGet(FileDownloadServlet.java:24)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
         at java.lang.Thread.run(Thread.java:484)

    The root of the webservers changes from server to server and
    sometimes it depends on the path you run webserver exe.
    The best i have found to overcome this kind of problems is by
    using getResourceAstream() method which basically looks at classpath locations only, but still this has some problems like it should kept at the
    specified classpath becoz the getResourceAsStrem() method is not static
    method and it always associated with the class object and the file
    accessing also should be in the same package/classpath.
    by using getResourceastream you cannot look at other places (except classpaths)
    and this should be used only if you looking for .properites definitions.
    the Second best method is
    see you have a file called "context.txt" right
    before you create a file, first create a directory at the root, let say
    "\tmp"
    and then create a file \tmp\context.txt
    and then open an output stream to it either using fileoutputstreamm...
    and then write all output content to servlet/client output stream.
    this will be the best becoz you are specifying the "\" the root
    and this is common for all operating systems and definitely it will create at the root directory either serverroot or harddiskdrives root
    so you will never missout and the exceptin will also not comes along the way
    cheers..
    if you get new thing , let me know
    bye
    with regards
    Lokesh T.C

  • And here we go again with corrupt download files unable to expand

    There seems to be a pattern with major updates from Apple and the ability of the servers providing the content - be it iTunes or iOS or Mac OS updates - I have been unale to download sucessfully the larger updates but smaller (22MB for AirPOrt Utility) work fine.
    The annoying thing is that in almost all cases the erorr dosen't occur until AFTER the download is complete - meaning it takes up allt he time and bandwidth etc with no result and you have to start all over again.
    This has happened to enoguh people and with enough different software releases that I posit that it is NOT the result of any partiucalr configuration of netwokring and or hardware and or firmware and or OS version etc - but that the it is a systemic issue on the provider side of things.
    Perhaps they (Apple's content providers) should stagger access or something - by time zone - or Apple should release updates over the course of a week - not all on the same day.
    I would much rather get a message that the server is busy try agian later - or have one update a day - and have it work on the first try - that to waste time retrying the same downloads over and over again.

    While it is entirely possible taht some combination of DOCIS or firmware etc on the user end is a contirbuting facotr - it is not hard to find numerous reports of exactly what I am talking about along with other similar issues.
    I don't recall having this issue before I upgraded to 50Mbps download service - so there could be a connection there. But the "solution" in my case so far has been to just simply keep trying and eventually it works just fine.
    I suppose I may have forggotten as they are so few and far between - but in my recollection - the ONLY issues I have had have been with software from Apple - whether downloaded via software update - or the App store - or iTunes - and no where else - on both Mac and Windows (had Apple Software Update fail to get iTunes update a couple times on Windows, but windows is easy to goof up if you have other installers running at the same time).
    On the other hand I don't recall too many cases in the past where the downloads were so large as they are nowadays - and certainly the number of users after those downloads has only increased over time.
    https://discussions.apple.com/thread/4010441?start=0&tstart=0
    http://support.apple.com/kb/TS1813?viewlocale=en_US&locale=en_US
    http://macmost.com/forum-software-updates-corrupted.html
    https://discussions.apple.com/thread/3356863?start=15&tstart=0
    http://reviews.cnet.com/8301-13727_7-57357319-263/dealing-with-corrupted-downloa ded-files-in-os-x/
    http://forums.macrumors.com/showthread.php?t=1268440
    http://forums.untangle.com/networking/8171-downloads-corrupt.html
    http://forums.macrumors.com/showthread.php?t=970911
    https://discussions.apple.com/thread/3378898?start=0&tstart=0
    http://mybroadband.co.za/vb/showthread.php/287165-iOS-4-2-download-corrupted
    http://stackoverflow.com/questions/7199094/what-is-the-cause-of-frequent-corrupt ed-incomplete-download-from-amazon-cdn-to-i
    http://forums.macrumors.com/showthread.php?t=1292841
    http://www.jailbreakqa.com/questions/39174/is-ios-download-corrupt
    http://www.tuaw.com/2011/11/10/ios-5-0-1-now-available-for-download/
    I could go on but you get the point.

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

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

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

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

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

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

  • Socket communication with HTTP server : how to send a form variable ?

    Hi everyone,
    I'm trying to program a Socket application that calls a CGI programmed in ASP and sends a variable with some content via the POST HTTP method.
    My problem is that I'm unable to retrieve my variable content in the CGI. I don't know what I'm doing wrong when sending my variable. Here are the main steps of my application
    [Client side]
    - Create an URL
    - Open a connection
    - Send header info with variable name and content via POST method
    - Read server response
    [Server side]
    - Request the variable
    - Store its content in a file
    Here's the code of my class :
    import java.net.*;
    import java.io.*;
    public class SocketTest{
         public static void main(String args[]){
                 //create the URL
              URL url = null;
              String strURL = "http://192.168.1.11/htmleditor/cgi.asp";
              try{
                   url = new URL(strURL);
              catch(MalformedURLException exc){
                   System.out.println("Invalid URL : " + strURL);
                    //create a socket
              Socket socket = null;
              try{
                   int port = url.getPort();
                   if (port < 0){
                        port = 80;
                   socket = new Socket(url.getHost(), port);
              catch(Exception exc){
                   exc.printStackTrace();
              OutputStream out = null;
              InputStream in = null;
              try{
                   //configure request
                   String data = "htm_content=toto";
                   String request =      "POST "+ url + " HTTP/1.0\r\n" +
                                         "Accept: */*\r\n" +
                                         "Content-length: " + String.valueOf(data.length()) + "\r\n" +
                                         "Host: JAVA_HOST\r\n" +
                                         "User-Agent: Generic\r\n\r\n" +
                                         "htm_content=toto";
                   //send request
                   out = socket.getOutputStream();
                   out.write(request.getBytes());
                   out.flush();
                   //read server response
                   in = socket.getInputStream();
                   int bufferSize = 1024;
                   byte responseBytes[] = new byte[bufferSize];
                   while ((bufferSize = in.read(responseBytes)) > 0){
                        System.out.print(new String(responseBytes, 0,bufferSize));
              catch(IOException exc){
                   System.out.println(exc);
              //Close streams and sockets
              try{
                   in.close();
              catch(IOException exc){
                   exc.printStackTrace();
              try{
                   out.close();
              catch(IOException exc){
                   exc.printStackTrace();
              try{
                   socket.close();
              catch(IOException exc){
                   exc.printStackTrace();
    }Here's the code of my ASP CGI page (called cgi.asp) :
    //CGI.ASP - Begin
    <%
         Option Explicit
         Dim objFso, objFile, strHtmContent, strFileName
         On Error Resume Next
         Set objFso  = Nothing
         Set objFile = Nothing
         Set objFso  = Server.CreateObject("Scripting.FileSystemObject")
         strFileName = Server.MapPath("htm_content.htm")
         Set objFile = objFso.CreateTextFile(strFileName, True)
         strHtmContent = Request("htm_content")
            If len(strHtmContent) > 0 Then
           objFile.Write strHTMContent
            Else
              objFile.Write "NO CONTENT RECEIVED"
            End If
    %>
    <html>
    <head>
    <script language="javascript">
      function closeAll()
        window.close();
        return 0;
    </script>
    <body onLoad="javascript:closeAll();">
    </body>
    </html>
    //CGI.ASP - ENDWhen I execute my SocketTest app I get this output:
    F:\JavaDev\htmleditor\docs>java SocketTest
    HTTP/1.1 200 OK
    Server: Microsoft-IIS/5.0
    Date: Fri, 12 Jul 2002 15:31:56 GMT
    Connection: Keep-Alive
    Content-Length: 192
    Content-Type: text/html
    Set-Cookie: ASPSESSIONIDQQGGGKMU=MMPPMLEDGDEMCCJDBGOKMNDC; path=/
    Cache-control: private
    <html>
    <head>
    <script language="javascript">
    function fermerTout()
    window.close();
    return 0;
    </script>
    <body onLoad="javascript:fermerTout();">
    </body>
    </html>
    The file "htm_content.htm" is created but it has this content :
    NO CONTENT RECEIVED
    This means the server was unable to retrieve the content of the variable called "htm_content"
    REM : the variable is called like this 'cause I intend to use it to send HTML content
    Any idea of what I'm doing wrong ?
    Thanxs in advance for any help,
    Diego TERCERO

    For the POST request you'll only need (with HTTP 1.0)
         String request =      "POST "+ url + " HTTP/1.0\n" +
              "Content-type: application/x-www-form-urlencoded\n" +
              "Content-Length: " + String.valueOf(data.length()) + "\n" +
              "\n" +
              data;
    Note the Content-type header.
    Fred (Donne les duke�)

  • How to not append '.PART' to the file name of the currently downloading file, and just download the file with its normal filename

    In Windows, when Firefox (I'm currently using 7.0) downloads a file, it appends ''.PART'' to the file name of the currently downloading file and just renames it to its original file name after it finishes downloading.
    I sometimes like to watch a currently downloading video file, so it will be better if Firefox just downloads the file to its actual filename (like what Opera does), so I can easily double click the incompletely downloaded file and watch it with the video player assigned to that file extension, rather than the awkward ''Right click -> Open With -> Choose Default Program'' route with .part files.
    Does anyone know how to set Firefox to do this?

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox and prevents Firefox from renaming the .part file.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See "Disable virus scanning in Firefox preferences - Windows"
    * http://kb.mozillazine.org/Unable_to_save_or_download_files

Maybe you are looking for

  • Getting new ipod--can I get my songs off of iTunes?

    My old mini has died and I think I am going to get a nano to replace it. My question is will itunes let me get all my songs to put them on my new nano? They must have some way of doing this since I can't be the only one to ever get a new device and t

  • Mac Mini Crashes

    i've a mac mini mid 2010,but it logs out once daily..itunes and safari keeps crashing all time i'm using OSX Lion 10.7.5 and theres specs: Processor: Core 2 duo 2.4 GHz Ram: 4GB Hard Disk: Hitachi 320 GB i changed the harddisk recently but it was per

  • Mic/Remote on headset doesn't work correctly with my iPhones iPod

    Currently I'm using a third party headset because my original apple headset broke.. Sometimes when I first plug in the headset it'll automatically start playing music, fast forward songs, skip tracks, and randomly stop and start again. I usually solv

  • How to Create infotype views through pm01

    I need to create a view for infotype 21. There is a tab for creating infotype views in pm01 transaction. but not sure how to use it. There are fields such as 'additional IT' and 'View'. Not sure what needs to be filled in these fields. I have created

  • Bravia kdl-32bx300 hdmi 1 malfunctionbravia kdl-32bx300 hdmi 1 malfunction

    i have a sony bravia kdl-32bx300 and yesterday my HDMI1 malfunctioned i have my computer and/or netflix box doesn't matter which one is plugged into HDMI1 after about 10 minutes of either device running on HDMI1 the TV shuts off and won't come back o