Path: csiph.com!usenet.pasdenom.info!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail From: "ishish" To: All Subject: Re: why can't download file from linux server into local window disk =? Message-ID: <54866F2E.1747.complang@piz.noip.com> X-Comment-To: All Newsgroups: comp.lang.python X-FTN-AREA: COMP.LANG.PYTHON X-FTN-PID: SoupGate-Win32 v1.05 X-FTN-MSGID: 85a00bf9 X-FTN-REPLY: <5486AF57.7070803@gmail.com> 58750c9b Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: piz.noip.com [Synchronet 3.15b-Win32 NewsLink 1.92] X-Server: piz.noip.me Date: 9 Dec 2014 11:32:00 -0500 Lines: 14 Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: 2266ad8f.news.astraweb.com X-Trace: DXC=LP`[=a9Aa>eN4DY]]om;IiL?0kYOcDh@jRScV177L_PaZh[e@ZS;QScl23]GVn`ZmfMHo6fPSBkUk04hIVDTD?[k7g\XjYcGehifPiGS6_2a\m Xref: csiph.com comp.lang.python:82209 > 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 --- SoupGate-Win32 v1.05 * Origin: NNTP.gateway.@.piz.noip.me> (1:249/999) --- Synchronet 3.15b-Win32 NewsLink 1.92 SpaceSST BBS Usenet <> Fidonet Gateway