Scrive Fastream Technologies <[EMAIL PROTECTED]>:

> ----- Original Message ----- 
> From: "Francois Piette" <[EMAIL PROTECTED]>
> To: "ICS support mailing" <twsocket@elists.org>
> Sent: Monday, November 21, 2005 9:42 AM
> Subject: Re: [twsocket] HTTP compression
> 
> 
> >> I don't know the FTP component, maybe what I proposed can be
> >> modified to share some code for support both protocols?
> >
> > Probably yes.
> > To be honnest, I have no idea about how FTP implement compression. I guess
> 
> > it is just a matter of a
> > command sent on the control channel before the actual transfer to signal 
> > data is compressed and how
> > it is.
> 
> FYI, in FTP servers, Mode Z is used for ZLib'ed (deflate) transfers. The 
> client sends the Mode Z command and the server decides to apply the 
> compression for download object either by the coefficient it decided on its 
> own or by the again client's OPTS command. You will need to modify 
> SendNextData for downloads.

One question could be: should the client automatically decormpress the 
downloaded file or it should be done by the application?

> I can send you code snippets if you would like to have. Just check out 
> http://www.fastream.com/netfileserver.htm and let me know if this is what 
> you have on your mind.

As said I'm not using the ftp component. Someone that has worked on this can 
jump in this thread?


Bye, Maurizio.


----------------------------------------------------
This mail has been sent using Alpikom webmail system
http://www.alpikom.it

-- 
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

Reply via email to