Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.068 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'subject:file': 0.07; 'subject:into': 0.09; 'windows': 0.15; 'subject:download': 0.16; 'header:User-Agent:1': 0.23; 'versions': 0.24; 'permission': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'newer': 0.30; 'file': 0.32; 'subject:from': 0.34; 'to:addr:python-list': 0.38; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'users': 0.40; 'save': 0.62; 'subjectcharset:utf-8': 0.72; 'fl:': 0.84 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 08 Dec 2014 17:37:56 +0000 From: ishish To: Subject: Re: why can't download file from linux server into local window disk =?UTF-8?Q?c=3A=3F?= In-Reply-To: <5486AF57.7070803@gmail.com> References: <5486AF57.7070803@gmail.com> X-Sender: ishish@domhain.de User-Agent: RoundCube Webmail/0.7.1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1418061662 news.xs4all.nl 2895 [2001:888:2000:d::a6]:44973 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.ecp.fr!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:82129 > 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