why can't download file from linux server into local window disk c:?

alister alister.nospam.ware at ntlworld.com
Mon Dec 8 13:46:26 EST 2014


On Mon, 08 Dec 2014 19:11:40 +0100, Luuk wrote:

> On 8-12-2014 18:37, ishish wrote:
>>>     with open(localpath, 'wb') as fl:
>>> PermissionError: [Errno 13] Permission denied: 'c:'
>>
>> I remember gloomily (haven't used windows since ages) that newer
>> Windows versions don't like users to write directly to C:. Have you
>> tried to save the file to your Documents folder?
>>
>> Regards,
>> Alba
> 
> no, it's the ssh-server denying a log on from 'root'

windows systems dont usualy have an SSH server & root is not a normal 
windows user name

on most systems that DO have a ssh server root logins are usually 
prohibited, either enable root logins (dangerous) or log in with a user 
that has permissions to do what you require. if you don't have access to 
the server then you need assistance from someone who is authorised.






-- 
Do you know Montana?



More information about the Python-list mailing list