Coping with variable sized reply from server

Hi folks,
I've written a small class that acts as an SMTP client, opening a socket to a server and writing the appropriate SMTP commands out to it.
However, I've discovered that I sometimes get SMTP 554 (SMTP synchronization error) errors on this, and I think that I've tracked it down to the fact that after every write, I get a reply with a single readLine() call to the inputstream (well, a BufferedReader that I've wrapped around the inputstream) and according to the RFC, different numbers of lines of reply can be returned depending on the command sent.
I've been trying to figure out how to handle this but don't really even have a clue where to begin. I can't read lines until I get null, since the socket's not closed after the stream dries up, and I've tried using BufferedReader.isReady() to tell me when to stop, but if I do this, I seem to miss large chunks of the reply.
A sample of my code is:
        // open socket connection
        PrintWriter out;
        BufferedReader in;
        Socket skt;
        skt= new Socket(server, port);
        in=  new BufferedReader(new InputStreamReader(skt.getInputStream()));
        out= new PrintWriter(new BufferedOutputStream(skt.getOutputStream()), true);
        DateFormat df= DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.LONG, Locale.UK);
        // get the IP address of the machine that we're running on, for the HELO string
        InetAddress localhost= InetAddress.getLocalHost();
        String hostName= localhost.getHostAddress();
        // do initial handshaking
        String heloString= "HELO [" + hostName + "]";
        out.println(heloString);            replies= getReply(in) + "\n";
        out.println("MAIL FROM:" + from);   replies += getReply(in) + "\n";
        out.println("RCPT TO:" + to);       replies += getReply(in) + "\n";
        if (ccList != null)
            // send any (B)CCs
            for (int i=0; i<ccList.length; i++)
                out.println("RCPT TO:" + ccList);
replies += getReply(in) + "\n";
} // end loop
} // end if we have CCs
// send header
out.println("DATA"); replies += getReply(in) + "\n";
// ... send all the data ...
// terminate
out.println("."); replies += getReply(in) + "\n";
out.println("QUIT");
replies += getReply(in) + "\n";
// close connection
out.flush();
in.close();
out.close();
and the getReply method looks like this:
    /** gets reply from server and returns it */
    private String getReply(BufferedReader in)
        String line= null;
        StringBuffer lines= new StringBuffer();
        try
            /* --> this fails
            while (in.ready())
                line= in.readLine();
                lines.append(line + "\n");
            return lines.toString();
            line= in.readLine();
            System.out.println("line: " + line);
            System.out.println("leaving 'getReply'");
            return line;
            // System.out.println(line);
        } // end try clause
        catch (IOException i) {i.printStackTrace(); return null;}
    } // end method getReply()Any ideas?
Cheers,
Raj.

I think the BufferedReader.readline() call will block until data is available. That means that you can just keep calling readline(). This also means that the getReply(BufferedReader) method must run in a separate thread.

Similar Messages

  • RFC with Multilevel Hierarchy call from Server Proxy

    Dear Experts,
    We would like to call BAPI inside a server proxy.
    PI has created an interface structure exactly identical as the BAPI structure, but while generating ABAP proxy, system has added additional controller structure for each hierarchy.
    Now our ABAP team is facing the difficulty to map Proxy structure with BAPI Structure as now the structures are not identical any more due to control structure .
    Also since the BAPI has multilevel hierarchy and to fill the bapi structure from proxy structure (which is having the same structure as bapi but with control records) there are lots of loops required.
    Please share your thoughts on how to get rid of looping on proxy structure when both the structure are identical but only control structure has been added to proxy structure.
    Also would like to know if we can restrict the control structure generation during proxy generation process.
    - Shri

    Yes, you have to read and map the abap proxy structure to bapi structure.
    Take a look here:
    http://help.sap.com/saphelp_nw04/helpdata/en/ab/585f3c482a7331e10000000a114084/content.htm

  • Portege R500 with XP: Offline files from server do not work

    I have a strange problem with a brand new R500 with XP installed. Offline files does not work: I can copy files down from servers, but when I attempt to copy back, I get an error
    "Offline Files (XXX on YYY): Access to ZZZ is denied on ZZZ."
    where XXX is either a samba share or a normal windows share. I have all the permissions to access those files, and can edit them if I go online without synchronising offline changes.
    I would ask this on the XP group, but I've +never+ seen this on any other laptops I've used (including Toshiba). Offline files to these servers still works for me on an older laptop (running an up to date XP), using the same account details and even using the roaming profile. Its also not related to any of the standard Offline files problems that are turned up on Microsoft's Knowledge Base.
    What more can I test - this problem seems specific to this laptop, and if I can't use offline files, the machine is practically useless to me (modulo paying for, and then setting up an equivalent piece of software).
    Should I try uninstalling TrueSuite for example?
    Anthony

    I have disabled the TrueSuite File Protection and now offline files work.
    This would seem to be really important limitation to the software, and I can't find any supporting documentation about TrueSuite, nor any updates for it.
    Anthony

  • Reading text from server socket stream

    I have a basic cd input program i've been trying to figure out the following problem for a while now, the user enters the artist and title etc and then a DOM (XML) file is created in memory this is then sent to the server. The server then echos back the results which is later printed on a html page by reading the replys from the server line by line.
    The server must be run it listens for clients connecting the clients connect and send DOM documents through the following jsp code.
    <%@page import="java.io.*"%>
    <%@page import="java.net.*"%>
    <%@page import="javax.xml.parsers.*"%>
    <%@page import="org.w3c.dom.*"%>
    <%@page import="org.apache.xml.serialize.*"%>
    <%!
       public static final String serverHost = "cdserver";
       public static final int serverPort = 10151;
    %>
    <hr />
    <pre>
    <%
            Socket mySocket = null;          // socket object
            PrintWriter sockOut = null;      // to send data to the socket
            BufferedReader sockIn = null;    // to receive data from the socket
            try {
                //  #1 add line that creates a client socket
                mySocket = new Socket(serverHost, serverPort);
                // #2 add lines that create input and output streams
                //            attached to the socket you just created
                 sockOut = new PrintWriter(mySocket.getOutputStream(), true);
                 sockIn = new BufferedReader(new InputStreamReader(mySocket.getInputStream()));
            } catch (UnknownHostException e) {
                throw e; // This time the JSP can handle the exception, not us
            } catch (IOException e) {
                throw e; // This time the JSP can handle the exception, not us
    String cdTitle, cdArtist, track1Title, track1Time, track1Rating;
    // Retrieve the HTML form field values
    cdTitle = request.getParameter("cdtitle");
    cdArtist = request.getParameter("cdartist");
    track1Title = request.getParameter("track1title");
    track1Time = request.getParameter("track1time");
    track1Rating = request.getParameter("track1rating");
    // Create a new DOM factory, and from that a new DOM builder object
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    // Note that we are creating a new (empty) document
    Document document = builder.newDocument();
    // The root element of our document wil be <cd>
    // It gets stored as the child node of the whole document (it is the root)
    Element rootElement = document.createElement("cd");
    document.appendChild(rootElement);
    // Create an element for the CD title called <title>
    Element cdTitleElement = document.createElement("title");
    // Add a text code under the <title> element with the value that
    // the user entered into the title field of the web form (cdTitle)
    cdTitleElement.appendChild(document.createTextNode(cdTitle));
    // Place the <title> element underneath the <cd> element in the tree
    rootElement.appendChild(cdTitleElement);
    // Create an <artist> element with the form data, place underneath <cd>
    Element cdArtistElement = document.createElement("artist");
    cdArtistElement.appendChild(document.createTextNode(cdArtist));
    rootElement.appendChild(cdArtistElement);
    // Create a <tracklist> element and place it underneath <cd> in the tree
    // Note that it has no text node associated with it (it not a leaf node)
    Element trackListElement = document.createElement("tracklist");
    rootElement.appendChild(trackListElement);
    // In this example we only have one track, so it is not necessary to
    // use a loop (in fact it is quite silly)
    // But the code below is included to demonstrate how you could loop
    // through and add a set of different tracks one by one if you
    // needed to (although you would need to have the track data already
    // stored in an array or a java.util.Vector or similar
    int numTracks = 1;
    for (int i=0; i<numTracks; i++) {
      String trackNum = Integer.toString(i+1);
      Element trackElement = document.createElement("track");
      trackElement.setAttribute("id", trackNum);
      trackListElement.appendChild(trackElement);
      // Track title element called <title>, placed underneath <track>
      Element trackTitleElement = document.createElement("title");
      trackTitleElement.appendChild(document.createTextNode(track1Title));
      trackElement.appendChild(trackTitleElement);
      // Track time element called <time>, placed underneath <track>
      Element trackTimeElement = document.createElement("time");
      trackTimeElement.appendChild(document.createTextNode(track1Time));
      trackElement.appendChild(trackTimeElement);
      // Track rating element called <rating>, placed underneath <track>
      Element trackRatingElement = document.createElement("rating");
      trackRatingElement.appendChild(document.createTextNode(track1Rating));
      trackElement.appendChild(trackRatingElement);
    OutputFormat format = new OutputFormat();
    format.setIndenting(true);
    // Create a new XMLSerializer that will be used to write out the XML
    // This time we will serialize it to the socket
    // #3 change this line so that it serializes to the socket,
    // not to the "out" object
    XMLSerializer serializer = new XMLSerializer(writer, format);
    serializer.serialize(document);
            // Print out a message to indicate the end of the data, and
            // flush the stream so all the data gets sent now
            sockOut.println("<!--QUIT-->");
            sockOut.flush();
            BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
            String fromServer;
            String fromUser;
             #4 add a while loop that reads text from the
            server socket input stream, line by line, and prints
            it out to the web page, using out.println(...);
            Note that because the reply from the server will contain
            XML, you will need to call upon the toHTMLString() method
            defined below to escape the < and > symbols so that they
            will display correctly in the web browser.
            Also note that as you receive the reply back from the
            server, you should look out for the special <!--QUIT-->
            string that will indicate when there is no more data
            to receive.
            while ((fromServer = sockIn.readLine()) != null) {
            out.println(sockIn.readLine());
                // If the reply from the server said "QUIT", exit from the
                // while loop by using a break statement.
                if (fromServer.equals("QUIT")) {
                    out.println("Connection closed - good bye ...");
                // Print the text from the server out to the user's screen
                out.println("Reply from Server: " + fromServer);
                // Now read a line of text from the keyboard (typed by user)
                fromUser = stdIn.readLine();
                // If it wasn't null, print it out to the screen, and also
                // print a copy of it out to the socket
                if (fromUser != null) {
                    out.println("Client: " + fromUser);
                    sockOut.println(fromUser);
            // Close all the streams we have open, and then close the socket
            sockOut.close();
            sockIn.close();
            mySocket.close();
    %>
    I'm suppose to modify the commented sections labled with #.
    #1,2 are correct but i have doubts on the 3rd and 4th modification.
    for #3 i changed so i serializes to the socket not to the "out" object:
    from
    XMLSerializer serializer = new XMLSerializer(out, format);
    to
    XMLSerializer serializer = new XMLSerializer(writer, format);
    with "out" it prints out some of the results entered but it just hangs i'm thinking it might be the while loop that i added in #4. If i changed it to serialize the socket XMLSerializer serializer = new XMLSerializer(writer, format); it doesn't print out nothing at all; just a blank screen where it hangs.
    I can post the rest of the code (server thats in java and cdinput.html) but since i want to keep my post short and if required i'll post it later on i also omitted some of the code where it creates the DOM textnodes etc to keep my post short.

    On your previous thread, why did you say the server was using http POST and application/xml content type when it quite obviously isn't, but a direct socket communication that abuses XML comments for message end delimiters?
    The comments imply you need to wait for "<!--QUIT-->" on a line by itself, but your loop is waiting for "QUIT".
    Pete

  • My deleted emails on iPhone 4s are not being deleted from server

    I'm facing a problem with my iPhone 4s when deleting emails. Unfortunately, they are not being deleted from the server. I tried setting the account in pop and imap with settings to delete from server and trash ticked. Still they keep on appearing in Outlook which is a double work to do. Please advise.

    I'm no expert by far, but have had issues with this before.
    IMAP should allow your iPhone to remove messages from the server.
    But have you made sure both the iPhone and Outlook are connecting via IMAP?
    If your iPhone does remove the messages from the server, but your computer is using POP, then the computer may download the email before it is removed form the server by your iPhone.
    This was my issue, that my computer had already downloaded the message, and POP does not check later if it is deleted.
    If you delete a message from Outlook does it disappear on the iPhone?
    Alternativly you may need to check the email server settings.
    Who is your email provider?
    They may be able to check if IMAP allows you to remove emails.

  • Request timed out because there has been no reply from the server in 600000

    Issue:
    Request timed out because there has been no reply from the server in 600000
    Scenario:
    1. All the crystal reports are designed by using Crystal Report 2008 Version -- 12.3.0.601
    2. All reports are uploaded to CMC (SAP Business Objects Enterprise XI, Product: 12.1.0)
    3. using Front-End .net Winform
    4. Crystal Report is binding is done using Business View Manager (since having more than one databases)
    5. Business View Manager Connects to Oracle using "Oracle Server" connection
    6. Loading reports as follows
    string queryString = string.Empty;
    SessionMgr sessionMgr = new SessionMgr();
    EnterpriseSession enterpriseSession = sessionMgr.Logon(userName, userPassword, serverName, authType);
    EnterpriseService enterpriseService = enterpriseSession.GetService("InfoStore");
    InfoStore infoStore = new InfoStore(enterpriseService);
    enterpriseService = enterpriseSession.GetService("PSReportFactory");
    Object psrfObject = enterpriseService.Interface;
    PSReportFactory psReportFactory = (PSReportFactory)psrfObject;
    queryString = "Select SI_CUID, SI_ID, SI_NAME, SI_PARENTID From CI_INFOOBJECTS " + "Where SI_PROGID='CrystalEnterprise.Report' " + "And SI_ID=" + ReportId;
    InfoObjects infoObjects = infoStore.Query(queryString);
    InfoObject infoObject = infoObjects[1];
    ReportDocument crDoc = new ReportDocument();
    crDoc.Load(infoObject, enterpriseSession);
    7. All the reports are getting loaded properly and i am able to dynamically set the report parameters
    8. After executing report, some of the reports take more than 10 minutes, due to which shows following error
    Request timed out because there has been no reply from the server in 600000
    Note i have done following:
    1. I have checked stored procedure running through oracle for more than 10 minutes (1 hr, 2 hrs)
    2. Tried simply running crystal report without front-end running perfectly more than 10 minutes (1 hr, 2 hr)
    3. When i run .net winform application for specific reports which takes long time, gives "Request timed out because there has been no reply from the server in 600000"
    Also i have done lot much R&D and spent almost weeks to get resolution but not getting any solution out of it, please help me in this case
    HKEY_LOCAL_MACHINESOFTWAREBusiness ObjectsSuite 12.0Report Application ServerClient SDKCorbaAdapterWaitReplyTimeout = 600000 and HKEY_LOCAL_MACHINESOFTWAREBusiness ObjectsSuite 12.0Report Application ServerInprocServerEnterpriseRequ
    AS per following URL
    Session timeout
    1. Log into Central Management Console
    2. Go to server,right click on Crystal report processing server and select properties,change the idle connection time out to 60 minutes
    3. Also right click on crystal report cache server and select properties ,change the idle connection time out to 60 minutes
    4. Restart Crystal Report Processing Server and Crystal Report Cache Server
    5. Change the session time out to 60 minutes in web.xml of INfoviewApp,InfoViewAppAction,PlatformSerivces and CrystalReports.
    6. Navigate to the following location
    <BO Install Dir>Business ObjectsTomcat55webappsInfoViewAppWEB-INF
    7. Edit the web.xml in notepad and search for the below lines.
    <session-config>
    <session-timeout>20</session-timeout> <!-- 20 minutes for session objects -->
    </session-config>
    8. Increase the Session-Timeout parameter to 20 to 60 minutes in web.xml . Save this file
    9. Repeat the same for the web.xml file in the InfoViewAppActions folder in <BO Install Dir>Business ObjectsTomcat55webappsInfoViewAppActionsWEB-INF
    10. Repeat the same for the web.xml file in the PlatformSerivces folder in <BO Install Dir>Business ObjectsTomcat55webappsPlatformSerivcesWEB-INF
    11. Repeat the same for the web.xml file in the CrystalReports folder in <BO Install Dir>Business ObjectsTomcat55webappsInfoViewAppActionsWEB-INF
    12. Restart the tomcat server
    Still i am getting same error, please help me, if you have any idea, clue with respect to this error on winform

    This error is specific to RAS. The default CORBA request timeout is 10 minute = 600000 ms. When the RAS SDK does not get the reponse back from RAS server in 600000 ms it throws this message. Why it works in InfoView\CMC what I believe you refer to as "Front End' application is because InfoView\ CMC don't use RAS.
    1. First make sure that a smaller report wich runs pretty fast ( 1-2 min) works. This will confirm that there is no connectivitiy issues between RAS and RAS SDK.
    2. If you get the efrror for every single report, even the smaller ones, make sure the box running RAS and RAS SDK code( in case they are 2 different) can ping each other with IP, shortname and FQDN. If there is a firewall between them, the RAS port needs to be opened for bidirectional communication. By default RAS chooses a random port for communication with SDK but within CMC you can configure it to use a specific port and open it.
    3. If the issue is specific only to reports that are long running, typically more than 10 minutes, then you need to inclease the CORBA timeout to a value more than what the reports typically would take to process. This is done on client code side or IIS in this case.
    Here are the steps:
    Make the following changes on the application server/system.
    Open RegEdit by going to Start > Run and typing in regedit.exe. Then click Ok.
    Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\CorbaAdapter
    Change the value of SendRequestTimeout(ms) to 100000.
    Change the value of WaitReplyTimeout(ms) to 6,000,000 ms. The default value is 600,000 ms and may not be long enough.
    Restart IIS by going to Start > Run and typing in iisreset. Then click Ok.
    Retry the failing application.
    See note:  1296656
    This error should be easy to fix
    Edited by: Aasavari Bhave on Feb 2, 2012 11:20 AM

  • Help needed with variable - trying to get data from Oracle using linked svr

    Sorry if I posted this in the wrong forum - I just didn't know where to post it.
    I'm trying to write a simple stored procedure to get data from an oracle database via a linked server in SQL Enterprise manager. I have no idea how to pass a variable to oracle.
    Here's how I would get the variable in SQL:
    declare @maxkey INTEGER
    select @maxkey= MAX(keyfield) from [server].Data_Warehouse.dbo.mytable
    select * from [server].Data_Warehouse.dbo.mydetailtable where keyfield=@maxkey
    the select statement I need to do in oracle would use that variable like this:
    select * from OPENQUERY(OracleLinkedServer,'select
    * from ORACLEDB.TABLE where keyfield > @maxkey')
    and I get this message: OLE DB provider "OraOLEDB.Oracle" for linked server "OracleLinkedServer" returned message "ORA-00936: missing expression".
    I realize that I can't pass the @maxkey variable to oracle - so how do I accomplish this?

    Please refer the example in this link which deals with Oracle date format.
    You can finnd a command DECODE which is used for date formats. If you have a look at whole theory then you will get an idea.
    Link:[Bulk insert SQL command to transfer data from SAP to Oracle|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bulk-insert-sql-command-to-transfer-data-from-sap-to-oracle-cl_sql_connection-3780804]

  • Request timed out because there has been no reply from the server

    Hi,
    I am using "Embedded report application server 11.5".
    When i am going to launch report with the help of above mentioned server i am getting "Request timed out because there has been no reply from the server for more than 600,000 milliseconds" error.I have already huge data for passed parameter
    Steps that i followed:
    1)I have set unlimited jobs in server.
    2)In registry entry i have set 10,00,000 miliseconds insted of 6,00,000 miliseconds.
    Can anybudy please provide me some solution for this.
    Regards
    Vishal

    See here if it's still an issue
    Re: which registry setting to change for long running reports

  • Delete emails from server after retrieving with IMAP protocol?

    Hi,
    I am using Mail as my email program and have set up my account with IMAP.
    When I use the POP protocol, I get the option to 'Remove copy from server after retrieving message'. When I set up Mail with the IMAP protocol, there is no such an option. The result is that my server inbox is slowly filling up and I manually have to login on my server to delete older messages.
    Is there a setting to automatically remove retrieved messages from my email server using IMAP?
    Thanks for your help.
    Erik

    Dear Thomas,
    Thanks for the clarification! Now I understand the mechanism.
    Still I would like to know if there is a way to automatically remove retrieved messages from the e-mail server. Would it help to automatically move my incoming messages in INBOX to a different mailbox in Mail.app? How would I set this up?
    Thanks for the response!
    Erik

  • Problem with shares on Windows 2003R2 server from a Windows 8.1 PC

    I'm having problem with shares on Windows 2003R2 server from a Windows 8.1 PC.  It times out when I try to copy a file from my PC to the server and I get an error message saying "There is a problem accessing network drive W:\. Make sure you are
    connected to the network and try again."
    I have no problem copying files from the server to the PC.
    Any ideas?

    Hi,
    How about your problem now? Have you test other machine also installed Windows 8.1? Did they have this problem?
    To diagnose this problem, firstly, please check Windows 2003R2 firewall settings, also can disable firewall temporarilly for test.
    Secondly, try to use Network Monitor to capture network communication package for test.
    Network Monitor:
    http://www.microsoft.com/en-us/download/details.aspx?id=4865
    Roger Lu
    TechNet Community Support

  • Getting zero-sized reply error when running report from SQL query

    Hi,
    I have a Report from SQL Query in Portal. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

    Problem comes when any of the filter is applied in any one of the cases selected from the GUI.Do you mean that the problems only shows when you run the report in your browser via 9iAS?
    Which version are you using?
    Can you post the before report trigger?

  • Getting Zero Sized Reply error in report from SQL query

    Hi,
    I have a Report from SQL Query in Portal 3.0.9. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

    Hi,
    I have a Report from SQL Query in Portal 3.0.9. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

  • Problem with pdf display downloaded from application server

    Hi all,
    I have a problem with displaying pdf downloaded from application server (saved in BINARY MODE).
    I am getting the pdf output of adobe form in FPFORMOUTPUT-PDF as rawstring back to my program and then converting that rawstring into binary form using the function module SCMS_BINARY_TO_STRING.
    Now, when I export the data to presentation server directly using cl_gui_frontend_services=>gui_download, the pdf is downloaded properly.
    However, when I save the data to application server file by looping at the internal table obtained from SCMS_XSTRING_TO_BINARY and using TRANSFER, and subsequently downloading the file in "unconverted format" from AL11 to my desktop, I am getting a "blank" pdf file (with the same number of pages as the one downloaded using gui_download).
    I have tried different encodings during download but in those cases i get corrupted pdf message. only the default option of INTIAL value seems to work.
    I am forced to believe that there is a problem in my code which saves the data to app server but I cant find any solution that is logical. Any solution to this would be greatly appreciated.
    Regards,
    Sasi
    Edited by: Sasi Upadrasta on Sep 29, 2010 7:55 PM

    used a program to read the file from appl server and then downloading it to desktop.

  • Web Matrix FTP Remote Connection Error - "Connection Error - Failure to get file list from server. An entry with the same key already exists."

    Does anyone have experience with this issue when connecting to a Linux FTP Web Server running a FTP Site?
    "Connection Error - Failure to get file list from server. An entry with the same key already exists."
    I cannot access the root directory of the ftp file server using Web Matrix 3. The site is .php based, and
    is accessible when connecting with FileZilla or Remote Connecting via FTP with Visual Studio.
    All sites have been deleted from Web Matrix, the user Application Data has been cleared and Web Matrix has been reinstalled.
    Issue Persists....
    Thanks in advance,
    Justin

    Turns out that the program leaves metadata in your app data folder that is not removed upon uninstallation of the software.
    This is incorporated to communicate with a file that uploaded into the ftp directory when publishing pages.

  • Migrate from server core 2008 r2 hyper-v with failover cluster volumes to server core 2012 r2 hyper-v with failover cluster volumes on new san hardware

    We are getting ready to migrate from server core 2008 r2 hyper-v with failover cluster volumes on an iscsi san to server core 2012 r2 hyper-v with failover cluster volumes on a new iscsi san.
    I've been searching for a "best practices" article for this but have been coming up short.  The information I have found either pertains to migrating from 2008 r2 to 2012 r2 with failover cluster volumes on the same hardware, or migrating
    to different hardware without failover cluster volumes.
    If there is anyone out there that has completed a similar migration, it would be great to hear any feedback you may have on your experiences.
    Currently, my approach is as follows:
    1. Configure new hyper-v with failover cluster volumes on new SAN with new 2012 r2 hostnodes and 2012 r2 management server
    2. Turn off the virtual machines on old 2008 r2 hyper-v hostnodes
    3. Stop the VMMS service on the 2008 r2 hostnodes
    4. copy the virtual machine files and folders over to the new failover cluster volumes
    5. Import vm's into server 2012 r2 hyper-v.
    Any feedback on the opertain I have in mind would be helpful.
    Thank you,
    Rob

    Hi Rob,
    Yes , I agree with that "file copy " can achieve migration.
    Also you can try "copy cluster wizard " :
    https://technet.microsoft.com/en-us/library/dn530779.aspx
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

Maybe you are looking for

  • ODBC SQL_ATTR_PARAM_BIND_OFFSET_PTR  and SQLPrepare

    I am having a problem with Oracle ODBC driver 9.02.00.65 when using both parameter bind offset pointer and peparing the statement using SQLPrepare. If the statement is not prepared then the parameter bind offset pointer is used correctly by the drive

  • Error in SSO Configuration

    Hello, I am configuring SSO between Portal 7.4 and ECC production system. I am getting following connection test error:- Please guide me to resolve it. Thanks and regards, Akshay

  • Error when accessing AdfDialogEvent.OUTCOME_CANCEL in af:resource tag

    Hi I'm trying to capture the cancel event on a dialog using java script. Following is my code </af:form>       <af:resource type="javascript">       function onDialogCEvents(evt) {           var outcome =evt.getOutcome();           if (outcome == Adf

  • Ready To Throw In The Towel...ugh!!

    So I started working on rebuilding my credit and paying off some old debts in June.   I significantly raised my scores from low 500's to almost 600 across the board to date.  Last week, I started working on the medical collections.  I called the CA a

  • Wrong number of photos listed for an album in Web Gallery

    Howdy, I've tried resynching my Web Galleries and it hasn't solved this problem. The number of photos listed for any particular Album appears wrong. For example, two albums contain 3 photos, but it says there are "4 photos." One with 14 photos says i