Subject: Re: MegaDL/Download it's not working
From: Ondřej Jirman
Date: Sat, 4 Apr 2020 06:34:29 +0200
On Sat, Apr 04, 2020 at 04:24:22AM +0000, Damian Perez wrote:
> Done, thanks!
> 
> Finally, a last two questions, please:
> 
> 1) Is it possible to get the folder name when I am downloading? It is that it never appears to me when I perform "megatools dl" in the log. Only the file names.

I don't know.

> 2) In PHP, when I do this:
> 
> exec("megatools put test.txt 2>&1", $mega_output);
> var_dump($mega_output);
> 
> It's returns me:
> 
> array(1) { [0]=> string(53) "ERROR: You must specify your mega.nz username (email)" }
> 
> But if I run it from the shell it upload normally. In this case, in PHP I have to put the -u and -p arguments to work. In the shell I get it from megarc. Do you have any idea how to fix it?

Probaly missing or incorrect HOME env var.

regards,
	o.

> Thanks in advance
> ________________________________
> De: Ondřej Jirman <megatools@megous.com>
> Enviado: sábado, 4 de abril de 2020 00:26
> Para: Damian Perez <perezdami81@hotmail.com>
> Asunto: Re: MegaDL/Download it's not working
> 
> On Sat, Apr 04, 2020 at 03:22:52AM +0000, Damian Perez wrote:
> > Thanks for the update!
> >
> > Can you help me to install, please? I'm new in this. I have CentOS 7:
> 
> https://megous.com/git/megatools/tree/README#n210
> 
> regards,
>         o.
> 
> > # make -j8 -C docs
> > make: Entering directory `/root/megatools-1.11.0-git-20200404/docs'
> > make: *** No targets specified and no makefile found.  Stop.
> > make: Leaving directory `/root/megatools-1.11.0-git-20200404/docs'
> >
> > I have installed the deps:
> >
> > # yum -y install gcc make glib2-devel libcurl-devel openssl-devel
> > Loaded plugins: fastestmirror, langpacks
> > Loading mirror speeds from cached hostfile
> >  * epel: ewr.edge.kernel.org
> >  * nux-dextop: li.nux.ro
> >  * remi-php56: mirror.pit.teraswitch.com
> >  * remi-safe: mirror.pit.teraswitch.com
> > Package gcc-4.8.5-39.el7.x86_64 already installed and latest version
> > Package 1:make-3.82-24.el7.x86_64 already installed and latest version
> > Package glib2-devel-2.56.1-5.el7.x86_64 already installed and latest version
> > Package libcurl-devel-7.29.0-54.el7_7.2.x86_64 already installed and latest version
> > Package 1:openssl-devel-1.0.2k-19.el7.x86_64 already installed and latest version
> > Nothing to do
> > ________________________________
> > De: Ondřej Jirman <megatools@megous.com>
> > Enviado: viernes, 3 de abril de 2020 23:12
> > Para: Damian Perez <perezdami81@hotmail.com>
> > Asunto: Re: MegaDL/Download it's not working
> >
> > Hi,
> >
> > On Fri, Apr 03, 2020 at 06:30:57PM +0000, Damian Perez wrote:
> > > Hello
> > >
> > > The megadl it's not working from today. I think "/file/" was added to the links. They cannot be downloaded.
> > >
> > > Also I tried to remove "/file/" but I can't.
> >
> > The fix is here:
> >
> >   https://megous.com/git/megatools/log/
> >
> > regards,
> >         o.
> >
> > > Regards