Discussion:
Permission
Paul Hevier via curl-users
2018-01-19 23:26:38 UTC
Permalink
Hi All

I just started using Curl. I am getting the message below. It can't write to
my own folder. Can you tell me a setting of some type to make it write?
Thanks.








---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Jeremy Nicoll via curl-users
2018-01-20 00:28:24 UTC
Permalink
Post by Paul Hevier via curl-users
Hi All
I just started using Curl. I am getting the message below. It can't write to
my own folder. Can you tell me a setting of some type to make it write?
Your screenshot shows you issuing a curl command from the C:\> prompt
trying to write the result to a file within the root directory of C, ie you are
trying to create

C:\scorecard.htm

Windows protects the root directory of the drive, I think. Try again but
specifiy an output file within a subdirectory.
--
Jeremy Nicoll - my opinions are my own.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/
Paul Hevier via curl-users
2018-01-20 13:28:41 UTC
Permalink
Ok thanks. I did that and got the same results.



-----Original Message-----
From: curl-users [mailto:curl-users-***@cool.haxx.se] On Behalf Of
Jeremy Nicoll via curl-users
Sent: Friday, January 19, 2018 6:28 PM
To: curl-***@cool.haxx.se
Cc: Jeremy Nicoll
Subject: Re: Permission
Post by Paul Hevier via curl-users
Hi All
I just started using Curl. I am getting the message below. It can't
write to my own folder. Can you tell me a setting of some type to make it
write?

Your screenshot shows you issuing a curl command from the C:\> prompt trying
to write the result to a file within the root directory of C, ie you are
trying to create

C:\scorecard.htm

Windows protects the root directory of the drive, I think. Try again but
specifiy an output file within a subdirectory.


--
Jeremy Nicoll - my opinions are my own.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Jeremy Nicoll via curl-users
2018-01-20 13:58:00 UTC
Permalink
Post by Paul Hevier via curl-users
Ok thanks. I did that and got the same results.
Ah but this time you supplied only a folder name. I meant
something like

--output "C:\this\or that\other\scorecard.htm"


Also, there's no need to reply to me directly - I will see replies
in the mail list. And a simple c&p of your command & output
rather than a screnshot makes it easier to comment on parts
of the command, if that becomes necessary.
--
Jeremy Nicoll - my opinions are my own.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etique
Paul Hevier via curl-users
2018-01-20 18:13:41 UTC
Permalink
Hi Jermey

I tried to do the output like to said but same results. Thanks again for the
help.



Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Paul>cd\

C:\>curl http://www.seed-madness.com/scoreboard.htl --output
"c:\users\public\pu
blic downloads\scoreboard.htm
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0Wa
rning: Failed to create the file c:\users\public\public
Warning: downloads\scoreboard.htm: No such file or directory
100 331 100 331 0 0 331 0 0:00:01 --:--:-- 0:00:01
1324
curl: (23) Failed writing body (0 != 331)

C:\>

-----Original Message-----
From: curl-users [mailto:curl-users-***@cool.haxx.se] On Behalf Of
Jeremy Nicoll via curl-users
Sent: Saturday, January 20, 2018 7:58 AM
To: curl-***@cool.haxx.se
Cc: Jeremy Nicoll
Subject: Re: Permission
Post by Paul Hevier via curl-users
Ok thanks. I did that and got the same results.
Ah but this time you supplied only a folder name. I meant something like

--output "C:\this\or that\other\scorecard.htm"


Also, there's no need to reply to me directly - I will see replies in the
mail list. And a simple c&p of your command & output rather than a
screnshot makes it easier to comment on parts of the command, if that
becomes necessary.


--
Jeremy Nicoll - my opinions are my own.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/eti
Jeremy Nicoll via curl-users
2018-01-20 18:24:42 UTC
Permalink
Post by Paul Hevier via curl-users
Hi Jermey
It's Jeremy !!
Post by Paul Hevier via curl-users
I tried to do the output like to said but same results. Thanks again for the
help.
C:\>curl http://www.seed-madness.com/scoreboard.htl
Wrong filename?




--output
Post by Paul Hevier via curl-users
"c:\users\public\pu
blic downloads\scoreboard.htm
Missing double quote at the end of that filename.
--
Jeremy Nicoll - my opinions are my own.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.hax
Paul Hevier via curl-users
2018-01-20 18:38:07 UTC
Permalink
Sorry typing idiocy on my part.

That works! Thanks Jeremy for the help. As a first time user its cool to get
it to work.


Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\>curl http://www.seed-madness.com/scoreboard.htm --output
"c:\users\public\sc
oreboard.htm"
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 28672 100 28672 0 0 28672 0 0:00:01 --:--:-- 0:00:01
105k

C:\>



-----Original Message-----
From: curl-users [mailto:curl-users-***@cool.haxx.se] On Behalf Of
Jeremy Nicoll via curl-users
Sent: Saturday, January 20, 2018 12:25 PM
To: curl-***@cool.haxx.se
Cc: Jeremy Nicoll
Subject: Re: Permission
Post by Paul Hevier via curl-users
Hi Jermey
It's Jeremy !!
Post by Paul Hevier via curl-users
I tried to do the output like to said but same results. Thanks again
for the help.
C:\>curl http://www.seed-madness.com/scoreboard.htl
Wrong filename?




--output
Post by Paul Hevier via curl-users
"c:\users\public\pu
blic downloads\scoreboard.htm
Missing double quote at the end of that filename.


--
Jeremy Nicoll - my opinions are my own.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mai

Loading...