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

Remote Mega Download

Windows
3
10
21.4k
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.
  • N
    Noah Nauman
    last edited by Noah Nauman May 29, 2021, 4:23 PM May 29, 2021, 4:08 PM

    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

    R 1 Reply Last reply May 29, 2021, 9:53 PM Reply Quote 0
    • R
      Russ @Noah Nauman
      last edited by Russ May 29, 2021, 9:58 PM May 29, 2021, 9:53 PM

      @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

      N O 3 Replies Last reply May 30, 2021, 11:40 AM Reply Quote 0
      • N
        Noah Nauman @Russ
        last edited by May 30, 2021, 11:40 AM

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

        1 Reply Last reply Reply Quote 1
        • N
          Noah Nauman @Russ
          last edited by May 31, 2021, 1:05 AM

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

          R 1 Reply Last reply Jun 1, 2021, 1:10 AM Reply Quote 1
          • R
            Russ @Noah Nauman
            last edited by Jun 1, 2021, 1:10 AM

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

            Russell VanderMey

            N 1 Reply Last reply Jun 4, 2021, 9:30 PM Reply Quote 0
            • N
              Noah Nauman @Russ
              last edited by Jun 4, 2021, 9:30 PM

              @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

              R 1 Reply Last reply Jun 5, 2021, 2:31 AM Reply Quote 0
              • R
                Russ @Noah Nauman
                last edited by Jun 5, 2021, 2:31 AM

                @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

                N 1 Reply Last reply Jun 8, 2021, 9:26 PM Reply Quote 0
                • N
                  Noah Nauman @Russ
                  last edited by Jun 8, 2021, 9:26 PM

                  @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 Sep 23, 2024, 11:49 PM

                    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 Sep 23, 2024, 11:58 PM

                      @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