Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    SOLVED Downloading files/folders as zip

    Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor)
    6
    9
    1114
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vinoth kumar
      vinoth kumar last edited by

      Hi Team,

      I just want to check is there any option to download the root folder files/folders as zip format ?

      6da7b395-0f85-4658-887d-cf7b3eb88fcc-image.png

      Kodi Shafer 1 Reply Last reply Reply Quote 0
      • J
        jbenguira last edited by

        Hey @vinoth-kumar

        To export your project please follow this tutorial:

        You will need this npm package:
        https://www.npmjs.com/package/appdrag

        Commands to type:

        mkdir yourapp;
        cd yourapp;
        npm install -g appdrag
        appdrag login (+ follow interactive steps)
        appdrag init <app-id> (replace  <app-id> with your project appid)
        

        then finally you can do:

        appdrag export . (Final dot is important!)
        

        this will fetch everything from your project to the local folder

        vinoth kumar Pierre SULPICE 2 Replies Last reply Reply Quote 1
        • vinoth kumar
          vinoth kumar @jbenguira last edited by vinoth kumar

          @jbenguira , Thanks.
          Login doesn't work on a enterprise version. Here i'm using our SingleSignOn to login to our service. Is there any method to login on my enterprise version through cmd ?

          Joseph Benguira 1 Reply Last reply Reply Quote 0
          • Joseph Benguira
            Joseph Benguira @vinoth kumar last edited by Joseph Benguira

            @vinoth-kumar yes same cli tool exist for AtosOne: https://www.npmjs.com/package/atosone-cli

            Also even if you usually sign in with SSO, you are still able to set a password on your account from the dashboard and then be able to login with email/password/2FA code in the CLI

            vinoth kumar 1 Reply Last reply Reply Quote 0
            • vinoth kumar
              vinoth kumar @Joseph Benguira last edited by vinoth kumar

              @joseph-benguira Thanks it works.

              1 Reply Last reply Reply Quote 1
              • Pierre SULPICE
                Pierre SULPICE @jbenguira last edited by

                @jbenguira just adding something if someone stumble on this problem :
                You might not be able to login with an error saying that PowerShell can't run scripts.
                Easiest brainless way is to set the Execution Policy to Unrestricted during this process :
                https://docs.vmware.com/en/vRealize-Automation/7.6/com.vmware.vra.iaas.hp.doc/GUID-9670AFC5-76B8-4321-822A-BCE05800DB5B.html

                Thanks for the process by the way, worked like a charm.

                1 Reply Last reply Reply Quote 2
                • B
                  Bogdan Heretoiu last edited by

                  This seems crazy. So the very EASY way to export a site is now gone and replaced by something only developers can comprehend? How does this help those without time or idea how to install npm, set up, etc..? Very disappointing and I hope someone can explain to me how I can export a site without hiring a developer. Thank you..

                  1 Reply Last reply Reply Quote 1
                  • Kodi Shafer
                    Kodi Shafer @vinoth kumar last edited by

                    @vinoth-kumar Has this been resolved? How do we download a zip file now without it being incredibly complicated for our clients?

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jbenguira @Kodi Shafer last edited by jbenguira

                      @kodi-shafer the detailed process is just above ...
                      Second post in this topic!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post