Re: [twsocket] Simple FTP.Put Example

2008-01-01 Thread Johnnie Norsworthy
Thanks for the help. As always it turns out I had a firewall issue. After resolving that I was able to figure out the appropriate steps. Happy New Year! --Johnnie Norsworthy - RE-Minder Software -- To unsubscribe or change your settings for TWSocket mailing list please goto http

[twsocket] Simple FTP.Put Example

2007-12-31 Thread Johnnie Norsworthy
15; //seconds Up.Passive := True; But what is the methods I need to use to connect, send the file, and then disconnect? I will be doing this in synchronous mode. I see the Count parameter in FTP.OnProgress; does that represent the number of bytes sent, and do I need to initialize my progr

Re: [twsocket] [OT] Merry Christmas !

2007-12-24 Thread Johnnie Norsworthy
Merry Christmas to Everyone and Happy New Year! -- Johnnie Norsworthy -- 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] Keeping a Responsive UI during THTTPCli Download

2007-11-11 Thread Johnnie Norsworthy
keep the UI responsive for button clicks and such? Thanks, -- Johnnie Norsworthy -- 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] HttpCli Downloading Binary Files

2007-05-07 Thread Johnnie Norsworthy
the FAQ. I am converting a small indy application that used that HTTP component into ICS. I prefer to retrieve the web file by HTTP, but I can convert to ICS FTP is absolutely necessary. Thanks, -Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] HTTPCli v6 Download Progress

2007-05-07 Thread Johnnie Norsworthy
Thanks. I submitted this as a FAQ for HttpCli. -Johnnie -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

[twsocket] HTTPCli v6 Download Progress

2007-05-06 Thread Johnnie Norsworthy
Is there an example that demonstrates how to monitor a HTTPCli.Get() progress for displaying a progress bar? I thought I had seen mention of this in the mailing list. Is there a search engine for the mailing list? Thanks, -Johnnie Norsworthy -- To unsubscribe or change your settings for

Re: [twsocket] Confirming an Abort in THttpCli

2007-01-19 Thread Johnnie Norsworthy
On 1/18/07, Francois Piette <[EMAIL PROTECTED]> wrote: > It is totally incorrect. Such a loop will prevent any event from occuring > and the state of the component will not change since it is blocked. Thanks! -- To unsubscribe or change your settings for TWSocket mailing list please goto http://w

Re: [twsocket] Confirming an Abort in THttpCli

2007-01-18 Thread Johnnie Norsworthy
I think my problems may have been with the receive stream being freed before the THttpCli was aborted. Kind of like removing the road before telling your car to stop. I am continuing to test, but was curious what other people do when THttpCli absolutely must be stopped before doing anything else.

[twsocket] Confirming an Abort in THttpCli

2007-01-18 Thread Johnnie Norsworthy
ary or adequate? I was getting some ICS errors when freeing the thread which may have been related to freeing the THttpCli or the underlying receive stream. Thanks, -Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/m

Re: [twsocket] EBay API SOAP Calls (SSL)

2006-11-09 Thread Johnnie Norsworthy
k. Indy 10 did not and I could never find a reason why it didn't. This is similar to other mysterious Indy quirks I have run into over the years. Thanks, -Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/tws

[twsocket] EBay API SOAP Calls (SSL)

2006-11-08 Thread Johnnie Norsworthy
Indy I would gladly pay them to share that code. -- -Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

[twsocket] Retrieving and Forwarding Emails / HttpCli in v6

2006-11-02 Thread Johnnie Norsworthy
7;t see an HttpCli component in v6. I had considered installing it in BDS2006 for new projects, but that is a component I use a bunch. Is it missing, or should I use version 5 HttpCli with v6 or what? Is it named differently? Thanks for ICS. I'll send my postcard next week. :-) -- -Johnnie No

Re: [twsocket] Memory leaks

2006-10-09 Thread Johnnie Norsworthy
from an installed component do you have to create packages for design-time installation? It would be nice if I could drop a THHTPCli on a form and then change it to a THTTPCli_DescendantName in code and be able to access the properties I added. -Johnnie Norsworthy -- To unsubscribe or chan

Re: [twsocket] Memory leaks

2006-10-09 Thread Johnnie Norsworthy
le. I thought about extending HTTPCli and adding a property, "CreateMemoryStreams". I use memory streams with HTTPCli and have to do this for every use. It would be nice it the create/free code was already done for me with a simple property setting. -Johnnie Norsworthy -- To unsubscr

Re: [twsocket] HttpCli and POSTDATA

2006-09-25 Thread Johnnie Norsworthy
So it looks like I have to parse each one and form a single entry for HttpCli.Cookie with just the name=value pairs, seperated by "; ". I'll try to do that now. I was used to the Indy cookie manager component which must have handled the parsing for me. I would rather do more things myself than use

Re: [twsocket] HttpCli and POSTDATA

2006-09-25 Thread Johnnie Norsworthy
I am trying to pick out the cookies from some header data, and I noticed there are a few lines: "Set-Cookie:" Since I need to use the cookies in subsequent requests, do I need to use the OnCookie event and combine all the cookies into one line? What is used as the separator if so? Or is there a m

Re: [twsocket] HttpCli and POSTDATA

2006-09-24 Thread Johnnie Norsworthy
I found a HTTP Post example in the included demos. Now I just have to snoop and find the exact requirements (cookies, etc.) for posting. I had to add the POSTDATA string to HttpCli.SendStream. Thanks, Johnnie -- To unsubscribe or change your settings for TWSocket mailing list please goto http://

Re: [twsocket] HttpCli and POSTDATA

2006-09-24 Thread Johnnie Norsworthy
> POSTDATA is not included in the header but like this: > > POST / HTTP/1.1 > Host: www.overbyte.be > > username=user&password=pwd (POSTDATA HERE--just like content in GET) Thanks SZ, but how do I add that to a THttpCli before calling .GetAsync? Is there an example in the ICS samples? -Johnnie -

Re: [twsocket] HttpCli and POSTDATA

2006-09-24 Thread Johnnie Norsworthy
Thanks; I know the header format, I just need to know how to apply the POSTDATA string to the header before getting the page. I used a FireFox extension to get the POSTDATA format. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listin

[twsocket] HttpCli and POSTDATA

2006-09-24 Thread Johnnie Norsworthy
I have been using fat URLs to retrieve a few web search page results, but for one site I need to use POSTDATA in the request header. How do I set my POSTDATA string before a THttpCli.GetAsync? Thanks, -Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please

Re: [twsocket] [OT] Borland Turbo

2006-09-07 Thread Johnnie Norsworthy
You can create the ICS components at run-time and set properties as needed. The only thing that usually causes problems is knowing event signatures. -Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo

Re: [twsocket] About HTTP client V6 changes to support .NET

2006-09-03 Thread Johnnie Norsworthy
ve to look into using another library or API when I create new .NET applications. Sidenote: My only wish for ICS is that the support from you and peer to peer was using regular newsgroups and not a mailing list. I just like them better. -Johnnie Norsworthy -- To unsubscribe or change your setting

Re: [twsocket] Multi-Part Emails

2006-08-25 Thread Johnnie Norsworthy
> See MailHtml sample program delivered with ICS. It does just what you need. Thanks. Sorry I missed that before. I did a search for "SMTP" in the folders. -Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mai

[twsocket] Multi-Part Emails

2006-08-24 Thread Johnnie Norsworthy
converting my HTTP download components to ICS, including doing some really nice asynchronouse image downloading and display that doesn't slow down my application at all. Thanks, -Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please goto

[twsocket] THttpCli - Abort .GetAsync on Received Header Contents

2006-08-19 Thread Johnnie Norsworthy
quickly as possible when exiting my application. Thanks, Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] UDP Socket Range Error

2006-08-02 Thread Johnnie Norsworthy
I disabled range checking in the .INC file and rebuilt the package and it appears to be working for now. The conditional compilation for debug code will be welcomed. It seems to be an issue with Windows 98 machines from what I have seen. Thanks guys. -Johnnie Norsworthy -- To unsubscribe or

Re: [twsocket] UDP Socket Range Error

2006-08-02 Thread Johnnie Norsworthy
On 8/2/06, Francois PIETTE <[EMAIL PROTECTED]> wrote: > > 008d7c34 +064 REMINDER.EXE OverbyteIcsWndControl 525 +1 > > TIcsWndControl.Dispose > > Can you point the exact source code ? It is likely that your line numbers > doesn't match my line numbers. Show the offending line and a few before and

[twsocket] UDP Socket Range Error

2006-08-02 Thread Johnnie Norsworthy
ng installed all over right now with this code so I am a bit worried. -Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Converting from Indy - UDP Send - DNS caching

2006-08-01 Thread Johnnie Norsworthy
On 8/1/06, Dan <[EMAIL PROTECTED]> wrote: > Why not open the socket at the start, then just call WSocket.SendStr when > you want to send something. I thought by leaving it open it might cause disconnection problems. Can I just leave it open all the time and call Send() as needed. It may be hours be

[twsocket] Converting from Indy - UDP Send - DNS caching

2006-08-01 Thread Johnnie Norsworthy
I am converting a small remote logging project from Indy to ICS that sends UDP packets. Following the example in UDPSend1.pas, I do the following when I wish to send my string: WSocket.Proto := 'udp'; WSocket.Addr := 'mydomain.com'; WSocket.Port := '12007'; WSocket.Connect; WSocket.Sen