GithubHelp home page GithubHelp logo

Comments (15)

rubemlrm avatar rubemlrm commented on May 12, 2024 1

I think that i can help you doing that.during the weekend i will try handle this issue

from magpidownloader.

rdtheriault avatar rdtheriault commented on May 12, 2024 1

You just need to specify the path better. This worked for me

$client = new-object System.Net.WebClient
$client.DownloadFile("https://www.raspberrypi.org/magpi-issues/MagPi62.pdf","C:/users/test.pdf")

from magpidownloader.

rdtheriault avatar rdtheriault commented on May 12, 2024 1

Yes, you could do something like this to the user folder

$client.DownloadFile("https://www.raspberrypi.org/magpi-issues/MagPi62.pdf","$env:USERPROFILE/test.pdf")

More can be found here

from magpidownloader.

rubemlrm avatar rubemlrm commented on May 12, 2024 1

To fix that error:

Start Windows PowerShell with the "Run as Administrator" option. Only members of the Administrators group on the computer can change the execution policy.
Enable running unsigned scripts by entering:
set-executionpolicy remotesigned

Relative to the assign , only the owner of repo can do that.

from magpidownloader.

rubemlrm avatar rubemlrm commented on May 12, 2024 1

this issue is relative to #5

from magpidownloader.

joergi avatar joergi commented on May 12, 2024

would be lovely! should I assign it to you?

from magpidownloader.

joergi avatar joergi commented on May 12, 2024

is there one way to use a relative path @rdtheriault ?

from magpidownloader.

joergi avatar joergi commented on May 12, 2024

ok, I tested it yesterday, but my shell was restricted. So first I have to find out, how to unlock it.
... I know why I switched more than 15 years ago to Linux

from magpidownloader.

rubemlrm avatar rubemlrm commented on May 12, 2024

restricted how ? what error did you get . I've tested this on my laptop and run without problems. we need to update travis to . if you want test all the alternatives, because you now rely on the bash command to execute the scripts, but on the Powershell you can't run with bash.

Besides this i think that can reduce the number of files , since the only thing that change between them is the language and language folders , its possible to change this to be more simple to use.

Btw you can assign this to me if you want.

from magpidownloader.

joergi avatar joergi commented on May 12, 2024

I know that I can make the language as a parameter. But I want to keep it as simple as possible for all the languages, that's why I have separated files.

Can you try to assign by yourself? Looks like, I can't do this. thanks

That's what I got in my Powershell
mmolfpfeljhgcjem
code in the file looks like this:

$client = new-object System.Net.WebClient
$client.DownloadFile("https://www.raspberrypi.org/magpi-issues/MagPi62.pdf","C:\Users\test.pdf")

(i also tried it yesterday night with path to C:/Users/test.pdf )

from magpidownloader.

joergi avatar joergi commented on May 12, 2024

Now the assignment works.
I will not be able to have a look before Wednesday to it.
But thanks a lot for helping 👍

from magpidownloader.

rubemlrm avatar rubemlrm commented on May 12, 2024

I'm working on this =) , tomorrow i will do a pull request with the changes.

from magpidownloader.

joergi avatar joergi commented on May 12, 2024

Great, looking forward for it.

from magpidownloader.

joergi avatar joergi commented on May 12, 2024

By the way, this issue is part of the https://hacktoberfest.digitalocean.com so be sure to have a look to it - maybe you will get a free shirt!

from magpidownloader.

joergi avatar joergi commented on May 12, 2024

perfect job done by @rubemlrm !!!
Thanks a lot for the work man!

from magpidownloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.