delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/06/04/14:00:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=dV4
y62G1AWVPB6SsEnsMIvEg+P8u3FwMs+DkpvtifugYPha5cURzHoJ40fT5JG2DIhL
gQO6wdxWKk5YdUW3Kuf8qATv5nk+fUsvStuvVBeo0cyzaZLoI2QYBAJsh8eGQIUl
BHe5wSXmcb9tr29SCh113TeErbhxyGjVCt9KzPx0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=7kI6MdwoZ
5Wf+dXbLSLRa0vXTU8=; b=MB/vboBaK32+YyEr11dCGs4SPQG8UZPAC39jh/C98
sT2W4eXlAahmVpN+mueheqoV4hv7M5DuaFI22Te0mGXBV8stq3H55BkOeIqz7tFe
rzO8FRduy041C4mmHr0AwDk4clT21jRyyc4TBrTAMzUfMoM0zWnhs4vO/vPPIe+b
KA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=BAYES_00,EXECUTABLE_URI,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_EXEURI,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=HX-Languages-Length:742, p.s, P.S, ps
X-HELO: mout.gmx.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1559671198; bh=OpA+t8tJKYCWywb2oBrt1vywKzaLrCLesNgwSTD0204=; h=X-UI-Sender-Class:To:From:Subject:Date; b=WLuv/LiCyGSnn0F1UZLZTOCsMbmxpVff4IJHBDkjV7Zq+ob0E5jpKgTQa1LJOx9cg LQW7gTkLrkWLV/bqJW0NiAOVKpCczYqoRCncBcD/xCHHL8GwiqfWPfg6gMABsKwIcW tcyFO1aZnQUkPYuALkxnpqRZndaMiHpMbM9blVBs=
X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79
To: cygwin AT cygwin DOT com
From: john doe <johndoe65534 AT mail DOT com>
Subject: Download setup-x86_64 issue
Message-ID: <4cd0cd23-a0fd-eb57-70ae-188a0b7c64ea@mail.com>
Date: Tue, 4 Jun 2019 20:00:01 +0200
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x54I0Ykr025392

Hi, I'm trying to download the setup file to update cygwin using
powershell but it fails miserably:

PS > (new-object system.net.webclient).do
wnloadfile("https://www.cygwin.com/setup-x86_64.exe", "$PWD/try.exe")
Exception calling "DownloadFile" with "2" argument(s): "The underlying
connecti
on was closed: An unexpected error occurred on a send."
At line:1 char:47
+ (new-object system.net.webclient).downloadfile <<<<
("https://www.cygwin.com/
setup-x86_64.exe", "$PWD/try.exe")
    + CategoryInfo          : NotSpecified: (:) [],
MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException


It works for other URLs and would appriciate any input on the above.


P.S.

Using Wget on this w7works.

--
John Doe

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019