title: how to zip a folder at FTP location using FTPClient in java
body: <p>I wanted to zip a folder which has some files in it and which is present at ftp location. How I can zip folder at FTP location.</p>
  
  <pre><code> FTPClient ftp = new FTPClient();
   ftp.connect(hostname);
   ftp.login(user, pass);
   ftp.changeWorkingDirectory("myfolder"); //I wanted to zip this "myfolder"
  </code></pre>
  
  <p>Thanks.</p>