Comments (15)
I think that i can help you doing that.during the weekend i will try handle this issue
from magpidownloader.
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.
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.
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.
this issue is relative to #5
from magpidownloader.
would be lovely! should I assign it to you?
from magpidownloader.
is there one way to use a relative path @rdtheriault ?
from magpidownloader.
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.
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.
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
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.
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.
I'm working on this =) , tomorrow i will do a pull request with the changes.
from magpidownloader.
Great, looking forward for it.
from magpidownloader.
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.
perfect job done by @rubemlrm !!!
Thanks a lot for the work man!
from magpidownloader.
Related Issues (20)
- Update latest issue automatically HOT 1
- Availibility to set the name for downloading
- latest issue should only be raised, if download works
- make docker also working for the special issues
- Docker should use a remote source file
- test the dockerized build HOT 4
- Windows: .\magpi-special-issue-downloader.ps1 is not working HOT 14
- use generic downloader (Mac/Linux) HOT 2
- Using generic downloader script for Windows HOT 2
- adapt the generic file for the docker script HOT 2
- using issue number from file for automated testing with latest issue
- [QUESTION] - It should only follow, if a redirect happens HOT 11
- test if downloaded file exists in testing.yml HOT 1
- Fixing the last linter issues Dockerfile (windows is solved) HOT 3
- Picture of a staple of real MagPi paper issues or create a nice design / logo
- fix Magpi-special editions
- fix Linter for docker HOT 1
- fix regular issues on powershell HOT 3
- fix docker build HOT 1
- fix windows download for special issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magpidownloader.