Search Results

Search found 4 results on 1 pages for 'ispiro'.

Page 1/1 | 1 

  • ftp-client works fine. ftp-tls-client fails on one computer and works on another

    - by ispiro
    Connecting to ftp - from a Windows Server 2012 - it works both secure (-over tls) and unsecure. From a Windows 7 it succeeds unsecure but fails when secure. (Using explicit TLS and passive mode.) filezilla: 234 AUTH command ok. Expecting TLS Negotiation. Initializing TLS... Connection timed out I've tried many things but nothing helps. (I'm also trying this programmatically. For details see: http://stackoverflow.com/questions/25393716/ftp-ssl-fails-after-expecting-tls-negotiation ) The fact that it does succeed from one computer proves that the ftp server is fine. And the fact that the Windows 7 computer succeeds without tls proves that it's not a NAT/firewall problem (besides, it failed even after disabling firewall etc.). I'm not sure where to start looking. Perhaps a difference between PC Windows and Windows Server? EDIT The ftp server is on a Windows Server 2012.

    Read the article

  • How does Read-Only affect a Directory?

    - by ispiro
    I've found that I can write (say, copy a file into) a Read-Only directory. That is, a Directory with ...Attributes = FileAttributes.ReadOnly.I can even change its name. The only thing I've found that can't be done is to delete it. Is that really the only thing that ReadOnly prevents? EDIT: Here's the code: (The Directory is empty.) (new DirectoryInfo(path)).Attributes = FileAttributes.ReadOnly; Directory.Delete(path); It throws an Access to the path 'c:\... is denied. exception. But after changing ReadOnly to Normal it works fine. So what does a ReadOnly prevent, and what doesn't it prevent?

    Read the article

  • How can I create an http response from scratch?

    - by ispiro
    I have code that returns an http response, but it also includes the content of the page. How can I create a response from scratch so it won't include anything except what I put in it? My code now: GCheckout.AutoGen.NotificationAcknowledgment response = new GCheckout.AutoGen.NotificationAcknowledgment(); response.serialnumber = serialNumber; HttpContext.Current.Response.Clear(); HttpContext.Current.Response.BinaryWrite(GCheckout.Util.EncodeHelper.Serialize(response)); HttpContext.Current.Response.StatusCode = 200;

    Read the article

  • A Form(?) appears briefly outside of Form1 when adding a control to it

    - by ispiro
    I have a program which creates new Controls (actually - Form's with TopLevel = false) and puts them on a Panel which is on Form1. For some reason, this is usually followed by what seems like a Form appearing very briefly outside of Form1. It's hard to tell exactly what's happening because it's so brief. Perhaps it's Form1 moving there (and changing its size) and then returning. Or perhaps it's the Form that's being put on Form1 that appears there (though how could that happen at all? It's out of Form1!). I couldn't find anything in the code that might cause it, and the whole code is way too long to post here. (The relevant code is simply: MyPanel.Controls.Add(newForm);.) Is there any known bug that might cause this?

    Read the article

1