Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Wednesday March 21 2018, @09:26PM   Printer-friendly
from the let-me-cURL-that-for-you dept.

March 20th, 2018, Daniel Stenberg notes twenty years of his flexible, multi-protocol, text-based utility, curl. It is a very common client-side file transfer utility. The associated development libraries, libcurl are a couple of years younger.

curl itself and components from libcurl are found nearly everywhere these days. Due to such widespread use, it is hard to be precise with usage numbers, but conservative estimates suggest billions of people every day are using it, though mostly under the hood several layers down inside devices they own. It is the Internet transfer utility of choice for thousands of software applications. It is found in cars, television sets, routers, printers, audio equipment, mobile phones, tablets, settop boxes, and media players for starters.

A detailed, free-of-charge, ebook, Everything curl, covers basically everything there is to know about curl, libcurl, and the associated project.

Earlier on SN:

Reducing Year 2038 Problems in curl
cURL turns Seventeen Today

Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: -1, Informative) by Anonymous Coward on Wednesday March 21 2018, @10:41PM (7 children)

    by Anonymous Coward on Wednesday March 21 2018, @10:41PM (#656372)
    Starting Score:    0  points
    Moderation   -1  
       Troll=1, Informative=1, Overrated=1, Total=3
    Extra 'Informative' Modifier   0  

    Total Score:   -1  
  • (Score: 2) by takyon on Wednesday March 21 2018, @10:53PM (2 children)

    by takyon (881) <takyonNO@SPAMsoylentnews.org> on Wednesday March 21 2018, @10:53PM (#656375) Journal

    Windows 10’s Spring Creators Update has some features the geeks will appreciate, too:

    • Curl and Tar Commands: The curl and tar utilities [microsoft.com] for downloading files and extracting .tar archives, commonly used on Linux, are now built into Windows. You’ll find them at C:\Windows\System32\curl.exe and C:\Windows\System32\tar.exe. Windows 10 already has a built-in SSH client [howtogeek.com], too.
    • Native UNIX Sockets: Windows 10 now natively supports UNIX sockets [microsoft.com] (AF_UNIX) thanks to the new afunix.sys kernel driver. This will make it easier to port software to Windows from Linux and other UNIX-like systems, and developers used to UNIX sockets can just use them when creating Windows software.

    [...] Microsoft keeps on improving the Windows Subsystem for Linux, which allows you to run Linux distributions like Ubuntu and openSUSE directly on Windows 10.

    • Native UNIX Sockets: The new UNIX sockets support isn’t just for Windows applications. Linux applications running under the Windows Subsystem for Linux can communicate with the native Windows UNIX sockets too.
    • Serial Device Support: Linux applications now have access to serial devices (COM ports).
    • Background Tasks: Linux applications can now run in the background. This means applications like sshd, tmux, and screen will now work properly.
    • Elevation Improvements: You can now run both elevated (as administrator) and non-elevated (as a standard user) Windows Subsystem for Linux sessions at the same time.
    • Scheduled Task Support: You can launch Linux applications from scheduled tasks.
    • Remote Connection Support: You can now launch the Windows Subsystem for Linux while connected via OpenSSH, VPN, PowerShell Remoting, or another remote connection tool.
    • Quickly Convert Linux to Windows Paths: The Wslpath command allows you to convert a Linux path to its Windows equivalent.
    • Customize Launch Settings: You can now change some launch settings for Linux distributions running under the Windows Subsystem for Linux. Each Linux distribution has a configuration file at /etc/wsl.conf. You can edit this file to change some automount and network settings, and more settings will likely be exposed here in the future.
    • Share Environment Variables: A new WSLENV environment variable is shared between Windows and Linux distributions running under WSL. You can format variables so they’ll work properly under both Windows and Linux.
    • Case Sensitivity for Windows: There’s now an NTFS option you can set to enable case sensitivity for a directory. If you enable this, even Windows applications will treat the files in that folder with case sensitivity. This would allow you to have files named two different files named “example” and “Example”, and even Windows applications would see them as different files.
    --
    [SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
    • (Score: -1, Troll) by Anonymous Coward on Thursday March 22 2018, @12:48AM (1 child)

      by Anonymous Coward on Thursday March 22 2018, @12:48AM (#656404)

      Tar is very much more useful than curl.

      Curl is distributed in a tar file.

      Any fool can hack together an HTTP client.

      HTTP is trivial.

      Curl is fucking unnecessary.

      Fuck Curl.

      • (Score: 3, Informative) by Anonymous Coward on Thursday March 22 2018, @02:13AM

        by Anonymous Coward on Thursday March 22 2018, @02:13AM (#656440)

        curl is not just for http , it talk DICT, FILE, FTP, FTPS, Gopher, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, Telnet and TFTP too

  • (Score: 5, Informative) by canopic jug on Thursday March 22 2018, @05:17AM (3 children)

    by canopic jug (3949) Subscriber Badge on Thursday March 22 2018, @05:17AM (#656486) Journal

    curl and tar coming to Windows 10 soon

    Wrong. Only the names "curl", "wget", and "tar" are coming to the Vista series. What M$ has under those names is broken and the parts that work provide almost no functionality [github.com]. Although a trademark infringment case would be more appropriate, the author of curl has only submitted a Github pull request asking M$ to take the name 'curl' down [github.com] because they are misusing it.

    Notice that there was no resolution of the problem. M$ responded not only with a bureacratic feint, it is now trying to shit in the RFC pool.

    This is typical of M$ claiming to have something they don't in order to tick boxes on managers' checklists and prevent loss of Windows sales. At the same time, it is designed to give a very bad impression of the original open source tools to those same managers when the things under the name. Same shit from M$, just a different day.

    --
    Money is not free speech. Elections should not be auctions.
    • (Score: 1, Informative) by Anonymous Coward on Thursday March 22 2018, @09:50AM (1 child)

      by Anonymous Coward on Thursday March 22 2018, @09:50AM (#656533)

      I'm well aware of the curl and wget aliases; there was a SoylentNews story about them in August of 2016: https://soylentnews.org/article.pl?sid=16/08/23/0317252 [soylentnews.org]

      Notice that it says nothing about tar. Your Github links are both dated August 2016; nothing was said there about tar. What's to be called the Spring Creators Update was made available for testing in December of 2017 and is expected to be generally available next month.

      > M$ responded not only with a bureacratic feint, it is now trying to shit in the RFC pool.

      You're citing a discussion on Github that began and ended in August of 2016.

      Your misinformation is out of date.

      • (Score: 3, Informative) by canopic jug on Thursday March 22 2018, @05:36PM

        by canopic jug (3949) Subscriber Badge on Thursday March 22 2018, @05:36PM (#656719) Journal

        Go to the github links shown above today and notice that there has been no action from M$ part to fix the problem even now in 2018. Press refresh on your browser [imgur.com] and notice that the information still stands: no action has been taken from M$ to resolve the problem.

        It is your tactics which are out of date.

        It is a long-standing tactic for M$ shills to point to old but still relevant problems and then assert that they are no longer true due to the passage of time.

        --
        Money is not free speech. Elections should not be auctions.
    • (Score: 1, Troll) by Anonymous Coward on Thursday March 22 2018, @09:55AM

      by Anonymous Coward on Thursday March 22 2018, @09:55AM (#656536)

      This is what Microsoft say on their corporate blog [microsoft.com]:

      Tar and curl are staples in a developer’s toolbox; beginning today, you’ll find these tools are available from the command-line for all SKUs of Windows. And yes, they’re the same tools you’ve come to know and love! If you’re unfamiliar with these tools, here’s an overview of what they do:

              Tar: A command line tool that allows a user to extract files and create archives. Outside of PowerShell or the installation of third party software, there was no way to extract a file from cmd.exe. We’re correcting this behavior 🙂 The implementation we’re shipping in Windows uses libarchive.
              Curl: Another command line tool that allows for transferring of files to and from servers (so you can, say, now download a file from the internet).

      Now not only will you be able to perform file transfers from the command line, you’ll also be able to extract files in formats in addition to .zip (like .tar.gz, for example). PowerShell does already offer similar functionality (it has curl and it’s own file extraction utilities), but we recognize that there might be instances where PowerShell is not readily available or the user wants to stay in cmd.

      According to the quote above, the curl and wget are distinct from the aliases that existed in PowerShell, which you falsely said "are coming to the Vista series" (those were there from 2016). And the above also says that the tar command didn't ship with Windows before.

      But thanks for misinforming us.