Hi i want to compress the file on the file during FTP file download. Is it possible to do that.
I have an application that downloads the files from remote FTP server as windows forms application using VB.net
Can you explain what you are really trying to do here? What type of file is this? Most file types don't do you any good unless you have the entire file downloaded, the exceptions being multimedia. However multimedia files are usually compressed for distribution so in this case I don't think it would make sense to implement compression on the fly.
There are three mechanisms for sending data over FTP: stream, block, and compressed. The compressed mechanism uses RLE compression. I think that may be what you're after? The protocol is old and as far as I know the original FTP RFC did not include compression logic, it was done after the fact. That being said I don't know how widely it is supported.