Downloading files as zip

Hello,
I am trying to download and zip files from SharePoint document library via a button click. I have added the button and script to get the selected document Urls. However stuck with how to zip it. Please somebody suggest me how to zip and download selected
documents from SharePoint library through ECMA script?
Thanks,
Praveen Kumar Padmakaran

Hi Praveen,
Using SharePoint client object model (ECMA/JavaScript) I don't see it is possible to achieve what you are looking for. Only possible way is SharePoint Server Object Model (Managed Code), which I had already shared with you.
I found while searching on the Internet where a user has posted similar question but his requirement was to download document sets as zip files. If you read the post's comments you will come to know that Microsoft Consultant has informed that client side
API code is not available to download document sets as zip files. This also applies to documents in document libraries.
http://sharepoint.stackexchange.com/questions/77631/download-documentset-as-zip-using-csom
Please remember to click 'Mark as Answer'
if the reply answers your query or 'Upvote' if it helps you.

Similar Messages

  • Download files from document library in zip file using javascript

    Hi,
    I am developing SharePoint Hosted App which needs to download all the files in the document libraries of SharePoint site in a zip folder where in that zip file each document library should be a folder, in that folder the files of that document library will
    be shown. Currently I am display all the document library in a table with check boxes as shown in the below figure. Now when user selects the check boxes and click on download button, the selected document libraries along with the files should be downloaded
    in a zip folder. This should be achieved through javascript. Can anyone share me the code to solve this problem.
    Thanks & Regards,
    Kishore
    Kishore

    You can use
    zip.js, but the best way - implement your solution on the server-side.
    [custom.development]

  • Why do all downloads get downloaded as a zip file?

    Recently I was asked about downloading a file as a zipped file. I clicked ok. I didnt pay much attention to it as I thought it was just for that particular file. Now everything I download downloads as a zip file. Anyone know how to fix?

    I have not seen this happen. Zip files get saved as Zip files. DMG files get saved as DMG files. In order to convert, and or make, a Zip file out of one or any number of files you need a program, or a feature in the OS, to create a Zip archive file with that one or many files.
    Do you have such a program installed? Like Stuffit?

  • HT1338 I have a problem with opening downloaded files from the internet; zip types. Can you tell me an app to open these types of formats of files?

    I have a problem with opening downloaded files from the internet; zip types. Can you tell me an app to open these types of formats of files?

    It should unzip if you double-cick.
    What are you seeing happen when you do that?
    Select a .zip file in the Finder and Get Info (cmd-i). What is set for it to Open With. It should be Archive Utility.

  • Where to download the webcentertutorialcontent.zip file for JDev 10.1.3.x?

    A quick question for the download location of the webcentertutorialcontent.zip file for version 10g (10.1.3.2 or later).
    I am going through the Oracle WebCenter Framework Tutorial 10g (10.1.3.2.0) (document id B31072-02) to gain an understanding of the working mechanism of portlets. The tutorial requires the use of the webcentertutorialcontent.zip file to set up the sample application, and points to http://www.oracle.com/technology/products/webcenter/files/webcentertutorialcontent.zip for downloading the file.
    But that page has been updated to 11g. I was able to find the archived old versions of webcenter, but not that zip file.
    It would very much appreciated if someone knows and let me know where it is.
    Many thanks!
    Newman

    On this page: http://www.oracle.com/technetwork/middleware/webcenter/documentation/index.html you have a list of all files.
    At the bottom in the Oracle WebCenter 10g (10.1.3.x) section you have a part: Building a WebCenter Application Step by Step Guide with a link to the supported files: http://download.oracle.com/otndocs/tech/webcenter/files/SRDemo_App_Download.zip
    This is from the 10g version...
    You are right that 11g applications does not run on a 10g app server. Oracle 11g fusion middelware uses weblogic as an application server. This does not use the OC4J container anymore.
    11g and 10g have a different licence so if you are using 10g and you want to use 11g, you need to buy a licence for weblogic and so on.
    If you are currently looking into the use of webcenter/portlets and you are planning to use it later on, than oracle will propose 11g because i don't think 10g is supported... I don't think you can buy a webcenter 10g license..
    By the way... You can install jdeveloper 11g in a sepperate middelware folder than your 10g version. This means that you easily can use them together. If you are planning on using webcenter, the best thing to do is install jdeveloper 11.1.1.3 (latest stable version) and install the webcenter extension. This allow you to easily create portlet producers and webcenter applications. You can easily deploy them on the integrated server. This is a lot easier than in the 10g release.

  • Help: The Download-File for Photoshop CS3 Extended "Deutsch" for Windows is not deposited as an exe- or zip-file

    The Download-File for Photoshop CS3 Extended "Deutsch" in the column for Windows inadvertent is not deposited as an exe- or zip-file but as a dmg-file for MacOS; this cannot be opened under Windows. (See download http://helpx.adobe.com/de/creative-suite/kb/cs3-product-downloads.html)

    Achims11206356 are you able to download from Download CS3 products?  You may need to adjust your region on Adobe.com to the United States to view the English version of the page.

  • Check Sum on downloadable files for linux e.g.linux_11gR2_database_1of2.zip

    Which tool is used to verify check sums on downloadable files such as linux_11gR2_database_1of2.zip ?

    Here is my blog which has answer to your question
    http://oraclechamps.blogspot.com/2010/04/invalid-block-type-install-error-11g.html

  • I purchased creative lightroom presets. I see the zip file in my download file and I try to import to LR but it just keeps creating a bundle never giving me the option to import (greyed out). What am I doing wrong?

    I purchased creative lightroom presets. I see the zip file in my download file and I try to import to LR but it just keeps creating a bundle never giving me the option to import (greyed out). What am I doing wrong?

    Try unzipping the file first. I have no idea regarding your level of technical expertise so advanced apologies if this is really basic. A ZIP file is a compressed file containing one of more files within it. To access the files you will need to expand it. If you double-click on it first, it should open up for you. If it does not automatically expand, you can select the files and copy them to a new folder. The copy will unload them into an uncompressed form. Once they have been uncompressed, you should be able to import them.
    If the import is still giving you problems, go to your Preferences, click on the Presets tab and click the Show Presets Folder button. You can then copy your purchased presets into the folder shown. You will want to copy them to the User Presets subfolder.

  • Where to download the TutWD_Languages_Init.zip file?

    Hi admin and experts of Web Dynpro Application,
    I've read the tutorial about the Internationalization of Web Dynpro Projects. In this tutorial, it needs to download the TutWD_Languages_Init.zip template file in website sdn.sap.com. But all I found about this is nothing!!!
    Please help me to find the link to download this template file.
    Thanks for your collaboration.

    Hello Khoa,
    Here it is:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/business_packages/a1-8-4/16tutwd_languages_init.zip
    Best Regards,
    Aayush

  • I have a 2007 iMac with version 10.6.8.  When downloading "some" files to my computer, these files become "zip files."  When I open the zip file, it produces a document in some coding language. How can I open the file to produce a legible document?

    I have a 2007 iMac with version 10.6.8 and 4GB of expanded memory.  When downloading "some" emailed documents, the downloaded file becomes a "zip file," which when opened looks like a coded message.  How can I open the "zip file" so that it produces a legible document?  Please, help!!  thank you!!!

    A "zip file" is a compressed file. "Zipping" in principle does not and cannot change the contents. So that if the contents before zipping are garbage, or unreadable on a Mac, when you expand the file you will get garbage or an unreadable file.
    The first thing to verify therefore is whether the file, before it was zipped, was in a "Mac friendly" format. Can you do that?
    You do not need an App to zip or unzip. These functions are built in on our Macs.
    And yes, zipping and unzipping using the built in functionality, work fine in OS 10.6.8. And 10.7 and 10.8 and 10.9.

  • Unable to open the downloaded patch's zip file

    i have downloaded the oracle 9i lite 5.0.2.10 patch from oracle metalink.
    But i m not able to open/extract the downloaded zip file.
    When i double click the downloaded file to open or try to extract it i get the message "Cannot open file: it does not seem to be valid archive. If you have downloaded this file then try to download the file again".
    Then i also went to the unzip utilities page of oracle , but was not able to select the appropriate platform.
    Can anybody help me out
    thanks

    Hiral,
    I just downloaded/opened the patch from Metalink and it seems to work fine. The utilities page includes unzipping programs for other platforms. All you need for Win2000 is winzip. Have you either tried to redownload the patch again or verify your winzip is functioning?
    Kalle
    [email protected]

  • I am a college student. I am trying to open lesson files my professor downloaded to my zip drive.

    I am a college student. I am trying to open lesson files my professor downloaded to my zip drive. Every time I try to open one, I get the following message "The file "Lesson01(1).zip" is in an unknown format and cannot be opened." What does this mean? I am working on a PC. Is the problem that my professor gave me files that are only compatible with a MAC?

    ?Hi John,
    I have tried to do this several times since receiving your message. I still cannot get anything to work. I am wondering if these folders are in a MAC format and perhaps that is the reason I cannot get it to work.

  • I have downloaded oracle9ias disk1 file: 1022ntDisk1_001.zip,but

    I cannot open it using winzip,why?

    Chen,
    That file is just one piece of the whole zipped file. You need to download the three files:
    1022ntDisk1_001.zip
    1022ntDisk1_002.zip
    1022ntDisk1_003.zip
    also you need to download the *.bat file.
    Then:
    1) copy all these files into a directory (e.g. /disk1)
    2) execute the batch file
    This will concatenate (put together) the three pieces and you will have the 1022ntDisk1.Zip file which you will be able to decompress.
    Note: The same process may be applied for the other to disks 1022ntDisk2 and 1022ntDisk3.
    Hope this will help you.
    Hardy.

  • Can't delete a .zip.download file on desktop

    I got this file while downloading files from my Outlook Web Access. The files were moved to a folder but this file remains on my desktop and doesn't allow me to trash it. Any help is appreciated.

    Open the Terminal in the Utilities folder. At the Terminal's prompt paste the following:
    sudo rm -rf ~/Desktop/
    Now drag the file icon into the Terminal window. Press RETURN. Enter your admin password when requested. It is not echoed to the screen. Press RETURN again.
    You can also see if it can be removed using Trash It! 5.1.
    If all else fails visit The XLab FAQs and read the FAQ on resolving Trash problems.

  • OSD C-Model - where is the "v_osd_v6_0_bitacc_model.zip" download file

    Hi,
    i don't find the C-Model Files "v_osd_v6_0_bitacc_model.zip" for the OSD.
    The link from Xilinx Doc PG010 doesn't work.
    best reagards
    dirk 

    Hi Satish,
    there is no cmodel, see attchment.
    I search the files from PG010 Chapter 8.
    Best regards 
     

Maybe you are looking for