Re: [twsocket] ICS WebServer Demo
The problem was that the World Wide Web Publishing Services was running. There is a registry setting that makes IIS listen only on specific IP addresses when it starts, so you can run IIS and ICS servers at the same time. HLM\SYSTEM\CurrentControlSet\Services\HTTP\Parameters\ListenOnlyList or add them using netsh commands: netsh http add iplisten ipaddress=217.146.102.140:80 Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] ICS FTP Client Strange Effect
I have an odd effect that I'm sure one of you clever guys will provide an answer to. I am using the FTP client to put a file on the a web site. The file format is of my own making and have no trouble reading and writing to files to/from the hard drive. Apart from the first 4 bytes in the file, the data is stored as Unicode. So in the case of English text every other byte is zero. Now when I putAsync the file and look at the result it has stored every carriage return with the two bytes in reverse order. So $0D, $00 is stored as $00, $0D. Line feeds and all the other text are stored correctly. Am I doing something wrong? The FTP component is as per the default settings. Graham -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ICS FTP Client Strange Effect
Graham Powell wrote: I have an odd effect that I'm sure one of you clever guys will provide an answer to. I am using the FTP client to put a file on the a web site. The file format is of my own making and have no trouble reading and writing to files to/from the hard drive. Apart from the first 4 bytes in the file, the data is stored as Unicode. So in the case of English text every other byte is zero. Now when I putAsync the file and look at the result it has stored every carriage return with the two bytes in reverse order. So $0D, $00 is stored as $00, $0D. Line feeds and all the other text are stored correctly. Am I doing something wrong? The FTP component is as per the default settings. Have you tried binary mode yet? -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ICS FTP Client Strange Effect
Just spotted that with Wireshark. Although Binary mode is set at design time I remember now that I have to set TypeBinaryAsync after the connection is made. Thanks Graham -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels Sent: 14 November 2012 16:05 To: ICS support mailing Subject: Re: [twsocket] ICS FTP Client Strange Effect Graham Powell wrote: I have an odd effect that I'm sure one of you clever guys will provide an answer to. I am using the FTP client to put a file on the a web site. The file format is of my own making and have no trouble reading and writing to files to/from the hard drive. Apart from the first 4 bytes in the file, the data is stored as Unicode. So in the case of English text every other byte is zero. Now when I putAsync the file and look at the result it has stored every carriage return with the two bytes in reverse order. So $0D, $00 is stored as $00, $0D. Line feeds and all the other text are stored correctly. Am I doing something wrong? The FTP component is as per the default settings. Have you tried binary mode yet? -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ICS FTP Client Strange Effect
Graham Powell wrote: Just spotted that with Wireshark. Although Binary mode is set at design time I remember now that I have to set TypeBinaryAsync after the connection is made. Yep, I and many others had to learn this lesson as well. I vote for Binary as the default mode. -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ICS FTP Client Strange Effect
I vote for Binary as the default mode. Unfortunately, the standard says text mode has to be the default. -- francois.pie...@overbyte.be Embarcadero MVP http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ICS WebServer Demo
The problem was that the World Wide Web Publishing Services was running. You should have got the error 10048 Socket already in use. You reported error 10013. Strange. -- francois.pie...@overbyte.be Embarcadero MVP http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be