Treehouse: Grow your CSS skills. Land your dream job.

How to compress some files into rar/zip folder without uploading rar/zip itselft ?HELP !

  • # July 18, 2013 at 12:16 pm

    Hey Guys

    I have a query how do i compress some files which I have uploaded separately but not the rar/zip file. I want a CSS script or code so that my files are converted into rar/zip file.

    for eg: I have uploaded 5 songs on my website and want a button from where we can download all songs in rar/zip folder but I do not want to upload that rar/zip folder I want those 5 songs to be compressed automatically into a rar/zip folder with css code/script.
    Is it possible to do so?


    # July 18, 2013 at 12:22 pm

    CSS cannot do this.

    Javascript would be required. I have moved this to JS Jungle accordingly.

    # July 18, 2013 at 12:24 pm

    Thank You.

    # July 18, 2013 at 12:46 pm

    David Walsh to the rescue!

    # July 18, 2013 at 12:52 pm

    Thank You TheDoc

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.