TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Remote Mega Download

    Windows
    3
    10
    19.8k
    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.
    • Noah NaumanN
      Noah Nauman
      last edited by Noah Nauman

      So I am trying to get some remote downloads working with megacmd so I can just paste a mega link (like this https://mega.nz/folder/bGAmWLBI#iRuLe8LRlvSrUyzCw7iiGA/file/DHRGjTzD) into the parameters field and have it start downloading the files from that link.

      this batch file below runs find when I run it as an admin. But I cant even get it to run when I am using triggercmd let alone change that link for a parameter field to input different links. How Can i get this to work the way I want to?
      set PATH=C:\Users\Noah\AppData\Local\MEGAcmd
      mega-get https://mega.nz/folder/bGAmWLBI#iRuLe8LRlvSrUyzCw7iiGA/file/DHRGjTzD B:\Downloads\files

      So I got this batch file to work when I run it as admin. But i have no idea how I can get this working with triggercmd. I just dont want to have to remote in just to start a mega download.

      @echo off
      echo Paste Mega Link Below
      set /p input=
      if %input% == 1 goto ech
      :ech
      set PATH=C:\Users\User\AppData\Local\MEGAcmd
      mega-get %input% B:\Downloads\files

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Noah Nauman
        last edited by Russ

        @Noah-Nauman, I made it work with the batch file below without using "Run as administrator". When I installed the MEGAcmd tool, I clicked No at this screen. I think that avoids having to run it "as administrator":

        834b29db-745e-4bf5-97f1-d3cb2fdc87ba-image.png

        These are the contents of my d:\tools\mega_dl.bat file:

        %LOCALAPPDATA%\MEGAcmd\mega-get %1 d:\Mega_Downloads
        

        My command looks like this:

        9e4e7755-eb30-496f-b25b-05cb50003a06-image.png

        I tested it like this:

        f64d9801-897d-4986-aaec-657aa620d60b-image.png

        Russell VanderMey

        Noah NaumanN O 3 Replies Last reply Reply Quote 0
        • Noah NaumanN
          Noah Nauman @Russ
          last edited by

          @Russ you're the best. I'll try this later tonight

          1 Reply Last reply Reply Quote 1
          • Noah NaumanN
            Noah Nauman @Russ
            last edited by

            @Russ Got it working. Thank you so much for the help.

            RussR 1 Reply Last reply Reply Quote 1
            • RussR
              Russ @Noah Nauman
              last edited by

              @Noah-Nauman, awesome. You're welcome.

              Russell VanderMey

              Noah NaumanN 1 Reply Last reply Reply Quote 0
              • Noah NaumanN
                Noah Nauman @Russ
                last edited by

                @Russ I have a question for you. this script is still working great but I was wondering if there was a way to get this to work with Home Assistant where I can paste the link into a card to start the downloads. Do you think it is possible? I have had a hard time trying to figure this out

                RussR 1 Reply Last reply Reply Quote 0
                • RussR
                  Russ @Noah Nauman
                  last edited by

                  @Noah-Nauman, sure, are you having Home Assistant call the TRIGGERcmd API? Can you send me a screenshot to give me some context?

                  I don't have much experience with HA. I've only tried it out.

                  Russell VanderMey

                  Noah NaumanN 1 Reply Last reply Reply Quote 0
                  • Noah NaumanN
                    Noah Nauman @Russ
                    last edited by

                    @Russ well i am having a hard time thinking of a way to even set up a way to send the parameter from home assistant

                    1 Reply Last reply Reply Quote 0
                    • O
                      Overryde113
                      last edited by

                      Would Anyone be able to help me do this? I've never used any of these softwares before and I've never done anything like this before so I'm pretty lost. I need to download a 300gb+ Mega folder but I can't afford Mega Pro and I can't find another way to do this.

                      1 Reply Last reply Reply Quote 0
                      • O
                        Overryde113 @Russ
                        last edited by

                        @Russ could you walk me through how to do this in simple terms and lots of clear step by step instructions? I've never used these softwares before so you can imagine how confusing this is for me to understand without having any experience doing anything remotely similar to this.

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