We help IT Professionals succeed at work.
Get Started

How to Compress a File Using C# During an FTP Transfer

Last Modified: 2013-12-16
I am attempting to write an application that will require the significant use of bandwidth to ftp a file from a limited network connection site, and I was wondering if there was a way to compress a file before you download it using C# .NET. I have seen mention of a compression method for SFTP, but I have not been able to find anything on compressing files using FTP by itself within a C# application. Could someone help me by providing example code for how to complete such a task, or point me to a site that would do that without having to purchase a third party library?

Any help that you could provide would be greatly appreaciated.
Watch Question
This problem has been solved!
Unlock 2 Answers and 4 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE