Subject: Re: Unable to download /file/ mega url, and some folders fail to download bug
From: Ondřej Jirman
Date: Sat, 18 Feb 2023 04:20:58 +0100
On Sat, Feb 18, 2023 at 02:03:58AM +0000, clowngpt wrote:
> Hi,
> 
> I spoke too soon, it fails part way through the download instead now.
> 
> I waited until the choco version updated and its still the same error.
> 
> "megatools dl --debug api,fs https://mega.nz/#!PDpSHQBR!B4DqmJNeUBEcgXHAlPyGB3DIdWS0cHOfzBdeL0gqHo4
> -> [{
>         "a": "g",
>         "g": 1,
>         "ssl": 0,
>         "p": "PDpSHQBR"
> }]
> <- [{
>         "s": 8261378064,
>         "at": "H64AQ1CbsZqScYs3kRFgWuSAAOqI7i5tyW-gS1BcEtCyzRk2QqURX9pjvhQNk6zxwft8ZUQLiwKW843NZAFglazmpiSmEXE3hGzVnE8sk2EYGPQOw0vYo9nnwvBbB1dQtoS2dPQmq2sUGhO6y5boIutgPXNQsq6kZEcpHfz1fjs",
>         "msd": 1,
>         "fa": "888:0*-mQlNhXQiy4/890:1*ZqFS3nZjhi8/268:8*4Pph_AbidTo",
>         "tl": 2539,
>         "g": "http://gfs262n321.userstorage.mega.co.nz/dl/L4swCV3rFNVhEgIaInjaQRrrEPnTOWwi5Oebm9IUVJ9WyO9NT05fazrClfgUxsPFC4tj-xe6BwUtS5YUyXSmcH1QgDpAlqj-ewht1-x6tFAG7niHSg2-c-PwAwhMP-dkBlIJr2p3XRJCB9WrkZrnfJBnCy0QHycntQfh7hjfFb3azabKgm7wsw7-qSw1nKSTsc5k9mEY2NXXEF3zhWg3xlNTcbH5L6OaIooQDi08rcfJAXfafNo3pwMgBA",
>         "ip": [
>                 "94.24.36.31",
>                 "2a0b:e44:1::31"
>         ]
> }]
> ERROR: Download failed for 'https://mega.nz/#!PDpSHQBR!B4DqmJNeUBEcgXHAlPyGB3DIdWS0cHOfzBdeL0gqHo4': MAC mismatch"

MAC mismatch == corrupted file. Not much can be done about that.

regards,
	o.

> 
> Sent with Proton Mail secure email.
> 
> ------- Original Message -------
> On Wednesday, February 15th, 2023 at 1:06 AM, clowngpt <clowngpt@proton.me> wrote:
> 
> 
> > Hi,
> > 
> > I tried 1.11.1 and it worked when I moved it to the root directory, I had originally installed using choco so my path install is still out of date.
> > 
> > 
> > Thanks!
> > 
> > 
> > 
> > 
> > Sent with Proton Mail secure email.
> > 
> > 
> > ------- Original Message -------
> > On Sunday, February 12th, 2023 at 10:11 AM, Ondřej Jirman megatools@megous.com wrote:
> > 
> > 
> > 
> > > Hi,
> > > 
> > > On Sun, Feb 12, 2023 at 01:59:12PM +0000, clowngpt wrote:
> > > 
> > > > Forgot to add
> > > > 
> > > > when a mega link is in the form of this mega.nz/file/ megatools always fails
> > > > https://mega.nz/file/PDpSHQBR#B4DqmJNeUBEcgXHAlPyGB3DIdWS0cHOfzBdeL0gqHo4
> > > 
> > > https://megous.com/dl/tmp/2ce63d201907b4f9.png
> > > 
> > > Works for me, make sure you use the latest megatools version.
> > > 
> > > > This url fails either way but others can be fixed by looking at the direct link in jdownloader.
> > > > which would be in this case
> > > > https://mega.nz/#!PDpSHQBR!B4DqmJNeUBEcgXHAlPyGB3DIdWS0cHOfzBdeL0gqHo4
> > > > 
> > > > Another example
> > > > https://mega.nz/file/kUBGkBAJ#d5kcqpKkuMTHakLlCN4daoqzvLfj46RBYt8I5FLfcyg
> > > > vs
> > > > https://mega.nz/#!kUBGkBAJ!d5kcqpKkuMTHakLlCN4daoqzvLfj46RBYt8I5FLfcyg
> > > > 
> > > > Also folders sometimes do not download
> > > > https://mega.nz/#F!r6okRCZL!BHYspCSr8m8Ljnbi8DFXnw
> > > > "ERROR: Can't open folder 'https://mega.nz/#F!r6okRCZL!BHYspCSr8m8Ljnbi8DFXnw': Node not found:"
> > > 
> > > Specified node in the url is no longer in the folder. You can see it if you
> > > use
> > > 
> > > megatools dl --debug api,fs 'https://mega.nz/#F!r6okRCZL!BHYspCSr8m8Ljnbi8DFXnw'
> > > 
> > > regards,
> > > o.
> > > 
> > > > but direct links to the files do download.
> > > > 
> > > > feel free to obscure the links for the archive
> > > > 
> > > > thanks!
> > > > 
> > > > Sent with Proton Mail secure email.