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]

Similar Messages

  • How the files are decreasing from RBS storage after some time i delete docs from document library, where shld I check the settings for this?

    HI
    I created a web application and configured  rbs storage ,
    I uploaded documents (for ex: 18 number)
     after uploaded  documents ,  and observed the RBS storage folder, number of files are increasing (39 number) , its working fine
    and also  I run the querys to check the rows increasing or not , (when I upload new doc rows are increased its fine also)
    select count(*) from alldocs
    Select count(*) from AllDocstreams
    but when I delete some docs from document library ,
    1)the doc itself deleted from document library
    2)when I check the rbs storage  there is no number of files are decreased(its still 39 files ), its same as  before doc deleted from doc library
    after some time I found the number of files are decreasing from RBS storage folder in sql server,
    here I want to know the how the files are decreasing from RBS storage  after some time, where  shld I check the settings for this? and how I control on it
    here how I know the settings for cleaning up orphan BLBOS how  these deleted BLOB
    adil

    1. WHen you delete the file from Sharepoint, it is still present in Recycle bin. This is a default setting in sharepoint for 30 days. Once files are deleted fro Recycle bin, it can also be delete from RBS
    2. There is a RBS cleanup job which deletes files from RBS. for more info check 
    http://mehuljamod.blogspot.in/2012/09/remote-blob-storage-maintainer-rbs.html

  • Drag and drop the file from document library to desktop in sharepoint 2013

    can we drag and drp the file from document library to desktop in sharepoint 2013
    Blitz

    We are using third party tool called PageLight for
    SharePoint Outlook Integration which provides drag and drop functionality of emails from Outlook to SharePoint.  Other features includes
    Save Outlook emails to SharePoint and also moving files/folders from file share.
    Thanks
    Alfred

  • Minimum version required to upload and download files using Netweaver Gateway

    What is the minimum service pack required to use the feature of Upload and download files using netweaver gateway. I already have a SP05

    Hi,
    as per this blog How to Read Photo from SAP system using SAP Gateway this should be possible with SP05.
    also refer How To Upload and Download Files Using SAP NW Gateway SP06
    Regards,
    Chandra

  • I already have adobe digital editions on my mac pc and download books from the library to my android e-reader. Can I use the same digital editions on my ipad air, or do I need to load a different one onto my ipad?

    I already have adobe digital editions on my mac pc and download books from the library to my android e-reader. Can I use the same digital editions on my ipad air, or do I need to load a different one onto my ipad?

    Try following forum:
    Adobe Digital Editions

  • HT1369 my ipod nano will not download songs from my library. itunes will not load on my desktop computer and I cannot get it to work?

    I cannot get itunes to download to my desktop and will not download music from my library. 

    rubicon53 wrote:
    I just bought a new laptop and my ipod nano will not stay connected to my computer.
    I cannot transfer any of my songs to my new laptop
    How to use your iPod to move your music to a new computer

  • I have an old Ipod 5th gen that I have been using for downloading music from my library.  Upon purchasing an Ipod touch and registering it in Itunes, I can no longer sync tunes to my old ipod.  How can I get that option back on my old ipod?

    I have an old Ipod 5th gen that I have been using for downloading music from my library.  Upon purchasing an Ipod touch and registering it in Itunes, I can no longer sync tunes to my old ipod.  How can I get that option back on my old ipod?

    - iTunes purchases by maybe
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    - For other music you need a third-party program like one of those discussed here:
    newer copy
    BTW, this is the iPod touch forum.

  • I have an ipod nano and use one click digital to download books from my library.  My nano says I have 2449 songs which is 65 books.  I have deleted all my playlists after I listen to the audiobook.

    I have an ipod nano and use one click digital to download books from my library.  My nano says I have 2449 songs which is about 65 books.  I have deleted all my playlists after I listen to the audiobook.  Now I get a message saying I don't have enough room on my nano to transfer new books to it.  My nano is 16 GB and my operating system is Windows 7.

    iTunes and Apple's devices work as an ecosystem. iTunes is designed to sync with Apple's products, not anyone else's. You'll need your songs in a format compatable with the Samsung phone and to use the software transfer program supplied/recommended. It is essentially not an Apple/iTunes problem. You may have better luck finding the information you need on Samsung's forums.
    tt2

  • Retrieve all folder & sub folder from document library in sharePoint 2013

    Hi,
    I want to retrieve all the folder and sub folder from document library and bind it to the dropdownlist using server object model.
    I used the below query to get all folder and sub folder.\
    query.Query = @"<Query><Where><Eq><FieldRef
    Name='FSObjType' /><Value Type='Lookup'>1</Value></Eq></Where></Query>";
                      query.ViewAttributes
    ="Scope='RecursiveAll'";
                     query.ViewFields
    = "<FieldRef Name='Title'/>";
                      query.ViewFieldsOnly
    = true;
    but when I bind result with the dropdownlist,it displays the output as below
    Please Help
    Thank You

    Hi,
    Thanks for posting your issue, Kindly try out below mentioned CAML query to get all the Folders and Subfolders from Document Library
    <Query>
    <Where>
    <Contains>
    <FieldRef Name='FileLeafRef' />
    <Value Type='Text'>token</Value>
    </Contains>
    </Where>
    <OrderBy><FieldRef Name='FileDirRef' /></OrderBy>
    </Query>
    <ViewFields>
    <FieldRef Name='ID' />
    <FieldRef Name='LinkFilename' />
    <FieldRef Name='FileDirRef' />
    <FieldRef Name='FileLeafRef' />
    </ViewFields>
    <QueryOptions>
    <ViewAttributes Scope='Recursive' />
    <OptimizeFor>FolderUrls</OptimizeFor>
    </QueryOptions>
    Also, check out below mentioned URLs to fix this issue
    https://social.msdn.microsoft.com/Forums/office/en-US/35e799a1-9360-46e5-8719-dd35fdace7ea/filter-document-library-folder-through-caml-query?forum=sharepointdevelopmentlegacy
    http://www.ktskumar.com/blog/2009/07/retrieve-all-folders-from-list/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • PowerShell script to find and remove duplicate items from document library

    Hi Friends,
    Please check this below script, It is finding the duplicate items and removing it. This script is not working to find the duplicate items from document
    library and remove. Can you please let me know where it is wrong.
    Add-PSSnapin microsoft.sharepoint.powershell 
    $web = Get-SPWeb -Identity "http://zapltvsspdev02:4333/bu/EXCO" 
    $list = $web.Lists["AECI Documents"] 
    $AllDuplicates = $list.Items.GetDataTable() | Group-Object INumber | where {$_.count -gt 1} 
    $count = 1 
    $max = $AllDuplicates.Count 
    foreach($duplicate in $AllDuplicates) 
    $duplicate.group | Select-Object -Skip 1 | % {$list.GetItemById($_.ID).Delete()} 
    Write-Progress -PercentComplete ($count / $max * 100) -Activity "$count duplicates removed" -Status "In Progress" 
    $count++ 
    Remove-PsSnapin Microsoft.SharePoint.PowerShell
    Note:
    In the above code, duplicates are found using the "INumber" column. 
    valmiki

    check this
    http://stackoverflow.com/questions/21337158/delete-duplicate-items-in-sharepoint-list

  • I can't download music from my library to my ipod because it says only 5 accounts are allowed to share content. How do I get around this?

    I can't download music from my library to my ipod because it says only 5 accounts are allowed to share content. How do I get around this?

    Or how do I change the 5 devices. Some are not used anymore

  • Is it possible to get Exchange emails downloaded to SharePoint document library using Powershell and or Custom Workflow?

    I have been asked to see if it would be possible to get  exchange emails downloaded and or sent to a document library .
    I know of the sitemail box app. but we are not running Exchange 2013.
    and setting up the lists and or document library to receive emails using the built in doesn't seem to be working...( maybe not configured correctly, i would need to see what the prior admin/developer did)
    But is there a way to get the emails downloaded to a document library using a workflow and or a powershell script that is triggered via  workflow?

    Hi,
    Since workflow can only work on items in SharePoint sites, they cannot get Exchange emails, let alone download emails to SharePoint library. However, you could manually save email to local and upload it to SharePoint list/library.
    I'd suggest you toubleshooting the incoming email settings in SharePoint. Please refer to the article below and check your configuration:
    https://technet.microsoft.com/en-us/library/cc262947.aspx
    http://blogs.technet.com/b/harmeetw/archive/2012/12/29/sharepoint-2013-configure-incoming-emails-with-exchange-server-2013.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Cannot download ebooks from public library. error "copy not authorized". not recognizing adobe account

    Trouble downloading ebooks from public library. Have done it many times recent problem. Error "copy not allowed". Suspect that Nook is not recognizing the adobe account.

    I've been downloading books from the New York Public Library to my PC and then I move the book into ADE and from ADE to my Nook without any problems.  I've also been able to return the books from ADE to the library although I have yet to learn how to delete them Nook.  You may want to recertify your computer for the ADE by selecting Library on the ADE b ar and moving down to "authorize computer"and click "finish" I also do that when I have the Nook connected and select device and once it has been confirmed as authorized I copy the book to the Nook.  I hope this helps.

  • How do i download audiobooks from the library to my ipod touch?

    How do I download audiobooks from the library on the ipod touch?

    You need to use the OverDrive app. Get it from the App store.
    https://itunes.apple.com/us/app/id366869252?mt=8

  • How do i download files using other downloader (like orbit downloader) instead of firefox downloader itself?

    how do i download files using other downloader (like orbit downloader) instead of firefox downloader itself?
    please give me detailed steps to do it
    i have orbit downloader

    I tried it again, and this time when I resumed it lost about 10Mbytes, so I guess this means that the app store downloader saves its data every 10MBytes.
    I will try downloading the whole thing again(XCode4) and just hope that this time I can get the whole download before it decides to wipe out what it has already downloaded.

Maybe you are looking for

  • Glad I'm not the only one...

    I seriously thought I was the only person on the planet who had the WORST PHONE EVER!!! And now that the warranty has passed, I'm pretty sure I'm SOL until June of 2013. After a few months, this phone just started to go downhill. Some things you can

  • Windows 7 Disk Error

    Hi guys - I'm totally stumped. Have read countless threads and various suggestions but nothing has worked. I am at wits end. Here goes: Macbook Pro 2008, 4,1, 4GB RAM 250GB Primary HD 500GB 2nd internal HD (SuperDrive removed) External USB DVD Drive

  • Can the notes be sorted and maybe also exist as childnodes under pages?

    I have created notes, but they are displayed in the same order as I have created them. It would be great if they are sorted based in order of the pages, or maybe an option to sort them manually? Drag and drop or... even better display them as childno

  • Help!!!! Stop() doesn't work

    I have been working in flash for years and this has never happened to me before. I am creating a calendar with a labeled area for each calendar, plus a labeled area for each month to load an external intro movie for the month. There are just basic st

  • Canon Pixma Pro9000. A4 paper doesn't feed properly.

    Canon Pixma Pro 9000.  A4 paper doesn't feed correctly.  It feeds in on the right but not on the left, so that it crumples as it feeds and jams.  A5 and 4x6 seem OK.