[twsocket] Pop-up downloads

2005-09-20 Thread Tom Bolick
This may not be easily done, but I have a website that requires me to navigate down a few levels, and click a button to request a file. Then a small window pops up that tells me my download will start in a moment. This small window refreshes a couple of times before finally starting a downloa

Re: [twsocket] HTTPCli.Post - removing spaces!

2005-09-20 Thread DZ-Jay
You can't do that. You need to UrlEncode only the values of the form data. dZ. Public wrote: > Thanks, now it works. > > I did URLEncode on sData, URLEncode(sData); > > > /Perry > > Francois PIETTE wrote: > > >>Try like this: >> >> sData := 'CustomerNo=' + UrlEncode(MainWnd.FCusto

Re: [twsocket] HTTPCli.Post - removing spaces!

2005-09-20 Thread Public
Thanks, now it works. I did URLEncode on sData, URLEncode(sData); /Perry Francois PIETTE wrote: >Try like this: > > sData := 'CustomerNo=' + UrlEncode(MainWnd.FCustomerNumber) + '&' + >'Pwd=' + UrlEncode(MainWnd.FPwd) + '&' + >'Subject=' + UrlEncode(dbEditSubject.Tex

Re: [twsocket] HTTPCli.Post - removing spaces!

2005-09-20 Thread Francois PIETTE
Try like this: sData := 'CustomerNo=' + UrlEncode(MainWnd.FCustomerNumber) + '&' + 'Pwd=' + UrlEncode(MainWnd.FPwd) + '&' + 'Subject=' + UrlEncode(dbEditSubject.Text); Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] The aut

Re: [twsocket] HTTPCli.Post - removing spaces!

2005-09-20 Thread Public
No, I did not cross my mind to solve the problem by searching for a specific funtion in a versy specific file. I may be a natural step if you are an expert on ICS but for others, it is far from a possible step in problem solving. However, I appreciate the help but it still does not work. When us

Re: [twsocket] HTTPCli.Post - removing spaces!

2005-09-20 Thread Francois Piette
> Is there a method called UrlEncode? > If, well, not in my version. Did you use Delphi "Find in file" feature to search in VC32 and Internet directories ? You would immediatley see that UrlEncode is located in IcsUrl.pas file. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freewa

Re: [twsocket] HTTPCli.Post - removing spaces!

2005-09-20 Thread Public
Hello, Maybe a daft question but how? Is there a method called UrlEncode? If, well, not in my version. Regards, Perry Jönsson Francois Piette wrote: >Use UrlEncode function. > >-- >Contribute to the SSL Effort. Visit >http://www.overbyte.be/eng/ssl.html >-- >[EMAIL PROTECTED] >Author of ICS (

Re: [twsocket] HTTPCli.Post - removing spaces!

2005-09-20 Thread Francois Piette
Use UrlEncode function. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: "Public" <[EMAI

[twsocket] HTTPCli.Post - removing spaces!

2005-09-20 Thread Public
Hello, I am using HTTPCli to post data to a web-site. Example code is: sData := 'CustomerNo=' + MainWnd.FCustomerNumber + '&' + 'Pwd=' + MainWnd.FPwd + '&' + 'Subject=' + dbEditSubject.Text; HttpCli1.SendStream := TMemoryStream.Create; HttpCli1.SendStre