Downloads:

1,334,160

Downloads of v 7.52.1:

41,424

Last Update:

01 Feb 2017

Package Maintainer(s):

Software Author(s):

  • Daniel Stenberg
  • cURL Contributors

Tags:

curl URL ssh ssl download

cURL (Portable)

This is not the latest version of cURL (Portable) available.

7.52.1 | Updated: 01 Feb 2017

Downloads:

1,334,160

Downloads of v 7.52.1:

41,424

Software Author(s):

  • Daniel Stenberg
  • cURL Contributors

cURL (Portable) 7.52.1

This is not the latest version of cURL (Portable) available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install cURL (Portable), run the following command from the command line or from PowerShell:

>

To upgrade cURL (Portable), run the following command from the command line or from PowerShell:

>

To uninstall cURL (Portable), run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade curl -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade curl -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure curl installed
  win_chocolatey:
    name: curl
    state: present
    version: 7.52.1
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'curl' do
  action    :install
  version  '7.52.1'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: curl,
    Version: 7.52.1,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller curl
{
   Name     = 'curl'
   Ensure   = 'Present'
   Version  = '7.52.1'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'curl':
  provider => 'chocolatey',
  ensure   => '7.52.1',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install curl version="7.52.1" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator gep13 on 01 Feb 2017.

Description

cUrl is a command line tool for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer resume, proxy tunneling and a busload of other useful tricks.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$packageName  = 'curl'
$toolsDir     = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$fileLocation = Join-Path $toolsDir 'curl-7.52.1-x86.zip'
$fileLocation64 = Join-Path $toolsDir 'curl-7.52.1-x64.zip'
if (Get-ProcessorBits 64) {
$forceX86 = $env:chocolateyForceX86
  if ($forceX86 -eq 'true') {
    Write-Debug "User specified '-x86' so forcing 32-bit"
  } else {
    $fileLocation = $fileLocation64
  }
}

$packageArgs = @{
  packageName   = $packageName
  file          = $fileLocation
  checksum      = '4D4673A149B3D7568804F00395A5A359ABA126EDD481E2F120C47C201847C2DF'
  checksumType  = 'sha256'
  checksum64    = '43286996301376C31FD7669E39349BDEF5DD9EE3FA8A6BE4D356794AF605A2A4'
  checksumType64= 'sha256'
  destination   = $toolsDir
}

# If the version of Chocolatey is less than 0.10.1, Get-ChocolateyUnzip needs `fileFullPath`.
if ((New-Object System.Version $env:CHOCOLATEY_VERSION) -le (New-Object System.Version '0.10.0')) {
  $packageArgs["fileFullPath"] = $fileLocation
}

Get-ChocolateyUnzip @packageArgs

tools\curl-7.52.1-x64.zip
md5: 7F10F66C7DFDF7252D3C0270AB705BCA | sha1: 1FDB627C1FA57BA5AF3BA9A5F35B6BC35BC521E0 | sha256: 43286996301376C31FD7669E39349BDEF5DD9EE3FA8A6BE4D356794AF605A2A4 | sha512: 926B811CDA6F52E1304700876DF58073D7181E5BD86ECEA7EF43432C68127E4521E016F659D227D8A5BA385C466537AC517DDFE2973779BC5E8F0814406CAC1E
tools\curl-7.52.1-x86.zip
md5: C0AC425A9A970E6E3D802EC1DCBB9D50 | sha1: E5563A8F28DB1A50A59890F9C1AA0FEF31C3E989 | sha256: 4D4673A149B3D7568804F00395A5A359ABA126EDD481E2F120C47C201847C2DF | sha512: 2A61B58BEE371B6BB0CC1E44E7446035355468593F036241F6AE8511ADF36767ECC219F0CD32682C4C8196DD0E7937299DF2D763B5D0BE00190ECE2BE0004F68
tools\LICENSE.txt
From: https://github.com/curl/curl/blob/028391df5d84d9fae3433afdee9261d565900355/COPYING

LICENSE

COPYRIGHT AND PERMISSION NOTICE

Copyright (c) 1996 - 2017, Daniel Stenberg, <[email protected]>, and many
contributors, see the THANKS file.

All rights reserved.

Permission to use, copy, modify, and distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright
notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of a copyright holder shall not
be used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization of the copyright holder.
tools\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Package can be verified like this:

1. Go to https://curl.haxx.se/download.html, scroll down to Windows and look for 
   binaries provided by Marc Horsken

   x32: https://dl.uxnr.de/build/curl/curl_winssl_msys2_mingw32_stc/curl-7.52.1/curl-7.52.1.zip
   x64: https://dl.uxnr.de/build/curl/curl_winssl_msys2_mingw64_stc/curl-7.52.1/curl-7.52.1.zip

   to download the zip files. You may wish to rename one of the files.

2. You can use one of the following methods to obtain the SHA256 checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'

   checksum32: 4D4673A149B3D7568804F00395A5A359ABA126EDD481E2F120C47C201847C2DF
   checksum64: 43286996301376C31FD7669E39349BDEF5DD9EE3FA8A6BE4D356794AF605A2A4

File 'LICENSE.txt' obtained from:
   https://github.com/curl/curl/blob/028391df5d84d9fae3433afdee9261d565900355/COPYING

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
cURL 7.66.0.20190926 42692 Thursday, September 26, 2019 Approved
cURL 7.66.0 20410 Wednesday, September 11, 2019 Approved
cURL 7.65.3 51965 Saturday, July 20, 2019 Approved
cURL 7.65.2 5046 Thursday, July 18, 2019 Approved
cURL 7.65.1 44817 Wednesday, June 5, 2019 Approved
cURL 7.65.0 17044 Friday, May 24, 2019 Approved
cURL 7.64.1 57430 Thursday, March 28, 2019 Approved
cURL 7.64.0 39156 Thursday, February 7, 2019 Approved
cURL 7.63.0 39521 Thursday, December 13, 2018 Approved

This package has no dependencies.

Discussion for the cURL (Portable) Package

Ground Rules:

  • This discussion is only about cURL (Portable) and the cURL (Portable) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or cURL (Portable), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus