Re: [twsocket] FTP client through a proxy - HTTP CONNECT method

2009-10-29 Thread Fastream Technologies
Hello,

I have proxy-side experience. After the CONNECT header is received, all we
do is to return response header and then tunnel to the host specified.

HTTPPRot.pas has some client-side example code for this!

Regards,

SZ

On Thu, Oct 29, 2009 at 2:04 AM, Mauricio Peixoto 
mauricio.peix...@hotmail.com wrote:


 Hi,


 Anyone has experience, could share source code, or..., in implementing FTP
 client using HTTP Connect method to pass through a proxy? Note I have
 already
 tried the transparent proxy work around but it does not work.


 Thanks very much,
 Mauricio

 

--
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] FTP client through a proxy - HTTP CONNECT method

2009-10-29 Thread Mauricio Peixoto

I could not find it.

 

You mean in the httpprot.pas file!? where? or in some of the samples 
(httptst.pas, 

httptst1.pas, ...)? which?

 

Regards,

Mauricio
 
 Date: Thu, 29 Oct 2009 09:40:59 +0200
 From: ga...@fastream.com
 To: twsocket@elists.org
 Subject: Re: [twsocket] FTP client through a proxy - HTTP CONNECT method
 
 Hello,
 
 I have proxy-side experience. After the CONNECT header is received, all we
 do is to return response header and then tunnel to the host specified.
 
 HTTPPRot.pas has some client-side example code for this!
 
 Regards,
 
 SZ
 
 On Thu, Oct 29, 2009 at 2:04 AM, Mauricio Peixoto 
 mauricio.peix...@hotmail.com wrote:
 
 
  Hi,
 
 
  Anyone has experience, could share source code, or..., in implementing FTP
  client using HTTP Connect method to pass through a proxy? Note I have
  already
  tried the transparent proxy work around but it does not work.
 
 
  Thanks very much,
  Mauricio
 
  
 
 --
 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
  
_
VocĂȘ sabia que o Hotmail mudou? Clique e descubra as novidades.
http://www.microsoft.com/brasil/windows/windowslive/products/hotmail.aspx
--
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] error Invalid code page (Peter Van Hove) (Arno Garrels)

2009-10-29 Thread Peter Van Hove

Thanks for the info.
But why do you need the ASCII and UTF-7 encoding at all?
Provided the text contained non-ASCII chars they would be replaced by
the default fail char ?, why not just save with default ANSI encoding,
the first 128 chars are always the same, in any codepage.
Also I've never seen a UTF-7 encoded text file so far, UTF-7 is
usually only used with 7-bit internet protocols such as email or
news.


It's a file save dialog and it looked fancy to allow the user to save as 
ASCII, UTF8, UTF7 etc.
I agree that the use is questionable but I leave it to the user to decide 
what format (s)he needs or likes.
Default I use UTF16 in fact. 


--
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] FTP client through a proxy - HTTP CONNECT method

2009-10-29 Thread Fastream Technologies
In the component .pas itself, search for CONNECT method.

Regards,

SZ

On Thu, Oct 29, 2009 at 1:22 PM, Mauricio Peixoto 
mauricio.peix...@hotmail.com wrote:


 I could not find it.



 You mean in the httpprot.pas file!? where? or in some of the samples
 (httptst.pas,

 httptst1.pas, ...)? which?



 Regards,

 Mauricio

  Date: Thu, 29 Oct 2009 09:40:59 +0200
  From: ga...@fastream.com
  To: twsocket@elists.org
  Subject: Re: [twsocket] FTP client through a proxy - HTTP CONNECT method
  
  Hello,
 
  I have proxy-side experience. After the CONNECT header is received, all
 we
  do is to return response header and then tunnel to the host specified.
 
  HTTPPRot.pas has some client-side example code for this!
 
  Regards,
 
  SZ
 
  On Thu, Oct 29, 2009 at 2:04 AM, Mauricio Peixoto 
  mauricio.peix...@hotmail.com wrote:
 
  
   Hi,
  
  
   Anyone has experience, could share source code, or..., in implementing
 FTP
   client using HTTP Connect method to pass through a proxy? Note I have
   already
   tried the transparent proxy work around but it does not work.
  
  
   Thanks very much,
   Mauricio
  
   
  
   --
  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

 _
 VocĂȘ sabia que o Hotmail mudou? Clique e descubra as novidades.
 http://www.microsoft.com/brasil/windows/windowslive/products/hotmail.aspx
 --
 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