Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82132

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.019
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'root': 0.05; 'subject:file': 0.07; 'subject:into': 0.09; 'cc:addr:python-list': 0.11; 'windows': 0.15; "'/'": 0.16; 'denying': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:download': 0.16; 'unlikely': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'versions': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'permission': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'am,': 0.29; 'dec': 0.30; 'newer': 0.30; 'message- id:@mail.gmail.com': 0.30; 'file': 0.32; 'this.': 0.32; 'run': 0.32; 'subject:from': 0.34; 'problem': 0.35; 'no,': 0.35; 'received:google.com': 0.35; 'issue': 0.38; 'subject:can': 0.39; 'users': 0.40; "you're": 0.61; 'first': 0.61; 'save': 0.62; 'more': 0.64; 'drive.': 0.84; 'fl:': 0.84; 'symptoms,': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=d6eY5GCkSJPWc5hJ5WdMfs/3ObnEQ6Z4c9HU4KW6K1A=; b=sVyxdHzaeonCaQ4b2H0zSw8E4cQzjGn3RPwsbx1xqQW0V2f87vleOXT0Kmivg2POa6 hYxmkAj3HEW0RXUJp3Qu7yAt9vljsqkUVx3WKFfCg3gCC3WFSVSOJCSt4troNdWGQWo5 VC0dBAQ6cvvASx2FBgv1jzt+tOeSJboRUBVNK5xEbVNrh4nAKPh15O6sU64ZaX2LBxSY t/QotQLuvhywSkyUXKeNkwEBHjmt/5JAptR4h4MhT6T1fklRh3Ie3ZJTWPGB7tPQeZs7 YDXAMZHW5CUmoti8VywXu2dhBeoM0bSD1bqp8yo0GEfcjSWRICvtYiXCAsZorqHAXffm C3EA==
MIME-Version 1.0
X-Received by 10.50.152.104 with SMTP id ux8mr15952158igb.14.1418062729869; Mon, 08 Dec 2014 10:18:49 -0800 (PST)
In-Reply-To <5485E9DC.6000509@invalid.lan>
References <5486AF57.7070803@gmail.com> <mailman.16726.1418061662.18130.python-list@python.org> <5485E9DC.6000509@invalid.lan>
Date Tue, 9 Dec 2014 05:18:49 +1100
Subject Re: why can't download file from linux server into local window disk c:?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16728.1418062739.18130.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1418062739 news.xs4all.nl 2943 [2001:888:2000:d::a6]:54561
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:82132

Show key headers only | View raw


On Tue, Dec 9, 2014 at 5:11 AM, Luuk <luuk34@gmail.com> 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'

It looks to me more like an issue with path naming. Try 'c:/' instead
of 'c:', or use '/' to mean the root directory of the current drive.
Alternatively, do a web search for the problem and the symptoms, as
you're unlikely to be the first person to have run into this.

ChrisA

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: why can't download file from linux server into local window disk c:? ishish <ishish@domhain.de> - 2014-12-08 17:37 +0000
  Re: why can't download file from linux server into local window disk c:? Luuk <luuk@invalid.lan> - 2014-12-08 19:11 +0100
    Re: why can't download file from linux server into local window disk c:? Chris Angelico <rosuav@gmail.com> - 2014-12-09 05:18 +1100
    Re: why can't download file from linux server into local window disk c:? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2014-12-08 20:37 +0100
    Re: why can't download file from linux server into local window disk c:? Tim Chase <python.list@tim.thechases.com> - 2014-12-08 12:32 -0600
  Re: why can't download file from linux server into local window disk c:? Luuk <luuk34@gmail.com> - 2014-12-08 19:11 +0100
    Re: why can't download file from linux server into local window disk c:? alister <alister.nospam.ware@ntlworld.com> - 2014-12-08 18:46 +0000
      Re: why can't download file from linux server into local window disk c:? Tim Chase <python.list@tim.thechases.com> - 2014-12-08 13:50 -0600
      Re: why can't download file from linux server into local window disk c:? Chris Angelico <rosuav@gmail.com> - 2014-12-09 07:16 +1100
      Re: why can't download file from linux server into local window disk c:? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-08 20:23 -0500

csiph-web