How can I zip files remotely on my server?

Discussion in 'Site & Server Administration' started by Gatorade, Jan 7, 2007.

  1. #1
    I need to zip files while on my server. What's the best way to do this?
     
    Gatorade, Jan 7, 2007 IP
  2. w8amoment

    w8amoment Well-Known Member

    Messages:
    975
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    120
    #2
    I use my online ftp site for that. Works fine for me.
    Will send you the url via PM ;)
     
    w8amoment, Jan 7, 2007 IP
    Gatorade likes this.
  3. Gatorade

    Gatorade Peon

    Messages:
    2,130
    Likes Received:
    222
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That's a very impressive site, it worked great. Thanks.
     
    Gatorade, Jan 7, 2007 IP
  4. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #4
    If your server runs on *nix, you can use this command (over ssh) to zip files:

    zip zipfilename.zip a b c d
    Code (markup):
    a, b, c & d being the names of the files you want to compress/zip.

    And to unzip:
    unzip zipfilename.zip
    Code (markup):
     
    eXe, Jan 8, 2007 IP