I was using this to dowload a file remote http://a.net/n.txt and to store it in my /home/user/
shell_exec("wget -r -nH --cut-dirs=10 -P /home/user/ http://a.net/n.txt");
Now my webhoster disabled shell_exec usage and I have to use alternatives ways. How can I reach same goal of the line above using
only php code ?