Questions tagged [curl]

a command-line tool for transferring data using various protocols.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

wget or curl gives 403:Forbidden while downloading file from OneDrive for business

I'm trying to download software for a client which resides in my bussiness OneDrive account. Through the webinterface of OneDrive I do: Right click the file and select Share List item Change the ...
0
votes
0answers
19 views

Encountering issues when trying to install Curl

I'm running an Ubuntu 18.04 server with PHP 7.3.9. I'm trying to install Curl on my server, primarily so that sites can communicate with Mailchimp. Doing so gives this error: Building dependency ...
0
votes
0answers
25 views

create email alert at output of Curl command

can you please help me here with idea how can I generate email alert when the curl command doesn't run successfully and generate error. like below. curl -i --header "Content-Type: application/json" ...
0
votes
0answers
61 views

OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to storage.googleapis.com:443

I've been trying to install minikube on my Ubuntu machine as per this post. But whenever I try to run... curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-...
0
votes
0answers
23 views

Curl http2 support does not install any more

I didn't have problems with installing curl http2 support before. I used this code: apt-get update sudo apt-get install build-essential nghttp2 libnghttp2-dev libssl-dev wget https://curl.haxx.se/...
1
vote
1answer
30 views

How to get curl verbose output without the TLS negotiation?

Is there a curl option producing everything like -v except for the TLS negotiation? I need both the input and output headers, but don't care about TLS as I know it works.
0
votes
0answers
57 views

wget & curl are unable to download but aria2c is able? why?

I'm trying to retrieve the content-length of a file by using below commands, they are all OK, but for this file which belongs to an online store in Iran: https://www.digikala.com/mag/wp-content/...
0
votes
3answers
184 views

difference between installation options for NodeJS on Ubuntu 18.04 LTS

I'm a brand new to Linux so this may be a rookie question... On a new installation of Ubuntu 18.04 LTS I want to install NodeJS. I ran node --version to verify that it is not installed: Command '...
0
votes
0answers
121 views

Sending base64 encoded images using curl

I'm trying to send data and an image that is base64 encoded in a curl command, and I need to know how to do that. It's not a multi-part form. It's just a simple base64 encoded picture or PDF as a form ...
0
votes
0answers
17 views

error message when I use the curl command [duplicate]

when I use the curl command, I get: E: Malformed entry 1 in list file /etc/apt/sources.list.d/iridium-browser.list (Component) E: The list of sources could not be read. E: Malformed entry 1 in list ...
0
votes
2answers
410 views

Can't use ftp to transfer a file - permission denied

I'm using Ubuntu and I would like to have a script that once a day transfer my mysql database from my local hard drive to my ftp server (provider is Aruba). I'm correctly able to connect via FTP and ...
1
vote
1answer
103 views

Error executing command during installation of Node.js and npm on Ubuntu 19.04

I have been trying to install Node.js and the related package npm on my Ubuntu 19.04. I have: v10.15.2 for Node.js and 5.8.0' fornpm`. I know from this source that the default version of npm for Node ...
0
votes
1answer
112 views

curl in bash script adds ? at end of the file name

I'm on Ubuntu 16.04, and I have a bash script with a curl command, for example: #!/bin/bash curl https://www.example.com/file.txt > ./file.txt The file should be downloaded with the name file.txt ...
1
vote
0answers
44 views

Curl, git, other commands hang while trying to download file

Currently on Ubuntu 18.04.12, when I try to download something from the terminal, or push to git or any similar command it always hangs on the download either indefinitely or for a very long time. ...
0
votes
0answers
60 views

Download with curl

I am trying to download the .mat files from the pages below with the following script: !for url in `curl -s csegroups.case.edu/bearingdatacenter/pages/12k-drive-end-bearing-fault-data |grep mat |grep ...
1
vote
1answer
77 views

How do I install curl with http3 support

It seems like curl packed with ubuntu does not have http3 support. How do I enable http3 in curl?
1
vote
1answer
110 views

How do I change the “Last-Modified” time format from the curl-head standard output?

The following command can get the modification time of the remote file, how to modify the output time format? # curl -sI https://sgp-ping.vultr.com/vultr.com.100MB.bin | grep Last-Modified | cut -c16-...
0
votes
0answers
22 views

not sure about proxy is working or not

I have recently configured proxy setting in ubuntu. but i have a doubt that it is not working as per expectation. 1-when i execute the command sudo apt-get update it shows enter image description ...
-3
votes
1answer
517 views

curl: (7) Failed to connect to 127.0.0.1 port 51786: Connection refused

When i running : curl -sS https://getcomposer.org/installer -o composer-setup.ph i get the error. I already reinstall and purge and install curl. my Apache server is running as well.
0
votes
1answer
322 views

PHP curl extension not enabling

I'm using the ondrej/php PPA and have been for a while with no issues but I recently upgraded to PHP 7.3 and I've hit a snag. I uninstalled all reference of the previous version and installed 7.3 and ...
0
votes
0answers
139 views

Problem access to google.com with curl in fresh install

I've installed a fresh system with using boot PXE and preseed. The installation works perfectly. But, when we tried to access https://www.google.com with curl or wget, we getting an error : # curl ...
0
votes
1answer
624 views

How to upload a file using terminal

I am trying to use curl command to upload a text file to my cloud. I have the upload link where I want to upload the file. The command curl --upload-file path/of/file/here https://upload.address.here ...
0
votes
1answer
236 views

XML output from HTTP request from Terminal

I am sending an HTTP request using curl from Terminal and would like to see or save the output (which by default comes in xml). Here is the code I am using: curl https://catalogue.onda-dias.eu/dias-...
0
votes
2answers
482 views

Cannot Unzip a .tar.gz file

So, I am trying to install apache tomcat, upon me trying to unzip the tar file i am getting this error. gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: ...
0
votes
0answers
38 views

Can't install curl in ubuntu 19.04 [duplicate]

I just installed Ubuntu 19.04 and I am trying to install curl by terminal and it shows me this message: someuser@somepc:~$ sudo apt-get install curl Reading package lists... Done Building dependency ...
3
votes
1answer
1k views

How to send JSON as variable with bash curl?

I'm trying to send a POST request with curl, but I'd like to store the json data in a variable in order to resend it if an error occur. I used this code: jsonvariable="{"ora" : "value1", "temp" : "...
3
votes
1answer
89 views

bash, check string on website

Is it possible to grep a string on a URL, which is 301 Moved Permanently? For example on this URL: https://eshop.unihobby.cz/zahrada-zimni-sortiment-vanoce-vanocni-osvetleni-interierove-osvetleni-...
0
votes
2answers
2k views

CURL not working in the latest version of PHP 7.2!

I tried to install the CURL in my server but failed. My server is running in Ubuntu 18.04 LTS & PHP 7.2 version. I used the command to install the CURL in my server. The command I used: sudo ...
0
votes
1answer
733 views

CURL not working but ping and nslookup yes working with local DNS server Ubuntu16.04

We are working with Bind server on Ubuntu 16.04. We are unable to curl because DNS resolution but ping and nslookup are working from Ubuntu16.04 client. Client - ping: root@app-01:~# ping -c1 ...
0
votes
0answers
1k views

Failed to fetch curl when trying to install, 404 Not Found

Attempting to revert a Chromebox with Windows 10 on it back to ChromeOS, using Ubuntu on a live boot to run a custom script to update the firmware. Basically, in order to run this command: cd ~; curl ...
0
votes
0answers
62 views

how to fix curl removing other dependencies?

I wanted to install node js on Ubuntu 18.04. I did from the official repository. sudo apt install nodejs npm. Then found the version is 8. So I wanted to update it following the official doc. curl ...
0
votes
0answers
209 views

Download HTML/text only from from web page (excluding images and JavaScript)

Is there any command I can use to download only the HTML/text within the page and exclude all images and scripts within the page? I am thinking the downloaded page should display only text like what ...
0
votes
0answers
32 views

Performing a proxy check with cURL

I want to print a proxy check using cURL. Kind of like checking an IP or hostname with cURL: curl ipinfo.io/ip 1.2.3.4 Im looking to perform the same thing except i want it to show me if im using a ...
0
votes
0answers
110 views

curl - Doesn't work within a proxy - 307 - Authorization Required

I'm trying to use curl inside a proxy. I read over the curl docs and some answers here in askUbuntu but didn't solve my problem. I'm trying to use this specific command with curl: curl -x http://10....
1
vote
1answer
1k views

Installing curl on Ubuntu 18.04 uninstall libcurl3

Trying to install curl on my Ubuntu 18.04 requires me to remove some stuff that other software in my system needs to run. To be able to install curl from apt install curl I had to do this: aptitude ...
0
votes
1answer
114 views

I am trying to bind a variable at the start of url on Curl, it is throwing error

curl \ -H "Content-Type: application/json" \ -X POST \ $REPOSITORY_URL/engine-rest http://10.195.177.141:31406 is binded to REPOSITORY_URL. curl: no URL specified! curl: try ...
1
vote
1answer
429 views

Showing <urlopen error [Errno 111] Connection refused> not able to use localhost for multiple applications!

I have been unable to install a number of applications including anaconda and druid on my ubuntu 16.04 system because whenever they try to open a url using localhost it flashes a message: urlopen ...
0
votes
1answer
207 views

Wordpress not detecting curl

I have wordpress installed on ubuntu 18.04.2 LTS. My Curl version is curl 7.58.0 when I enable the WooCommerce PayPal Checkout Gateway I get error message. "WooCommerce Gateway PayPal Checkout ...
0
votes
1answer
276 views

Intellij, Postman and curl - not recognize localhost on port 8080

I have a simple rest server in Scala. Run this project via intellij on localhost:8080. I tried to send POST or GET request into this server via postman and curl, but it cannot connect with it, don't ...
0
votes
1answer
59 views

I can't run wttr.ini in Xubuntu 16.04.6, connection time out

When I try to run "curl wttr.in" I get this: curl: (7) Failed to connect to 192.168.49.1 port 8282: Connection timed out . Firewall is disable (ufw -> innactive), how can I fix that? I have the ...
-1
votes
1answer
473 views

What's the command same as copy as curl in chrome browser

I created a script to routinely download page from my carrier website this will gather my remaining internet quota. I use copy as curl feature from chrome browser, paste them to my script, it works. ...
0
votes
0answers
1k views

ubuntu 18.10 curl not finding openssl

curl is not working. openssl version OpenSSL 1.1.0h 27 Mar 2018 curl --version curl: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/x86_64-linux-gnu/libcurl....
0
votes
1answer
213 views

file_get_contents, get_headers, and curl have stopped working with error: Connection refused

At some point yesterday the functions: file_get_contents, get_headers, and curl have stopped working with error: Connection refused. Ex: Curl: (7) Failed to connect to www.alebalweb.com port 443: ...
5
votes
1answer
3k views

How to build the latest curl from sources to allow downloading files via sftp?

I need to download files from a sftp server. Unfortunately, the curl version in Ubuntu 7.58.0-2ubuntu3.6 amd64 does not support sftp. I get the error message Protocol "sftp" not supported or ...
1
vote
0answers
369 views

Ubuntu/CURL not recognizing PositiveSSL certificate?

I'm using Ubuntu 18.04 I'm trying to access a file on another server using CURL. The other server has a Commodo/PositiveSSL certificate, and CURL reports that: curl: (60) SSL certificate problem: ...
0
votes
0answers
240 views

Unable to install libcurl for amrhf in Ubuntu machine(amd64)

I am unable to install libcurl4-gnutls-dev:armhf package in ubuntu bionic machine(amd64). I am using ubuntu machine (amd64) for cross-compiling my armhf based project. I added armhf architecture and ...
-1
votes
1answer
158 views

Concatenation of two cURL commands fails, but the commands work separately

I am trying to concatenate two curl commands using a pipe. First there is a simple authentication that works using curl https://myserver --user username:password Second I need to use GLPI API for ...
1
vote
1answer
4k views

curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version /home/mohan/mesg

When I am running the following command: bash <(curl -fsSL https://mesg.com/install) , I am getting this error: curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol ...
1
vote
1answer
358 views

installing libcurl4 removes R packages

executing: apt install -y libcurl4 curl removes the following packages: Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: libblas-dev libblas3 libbz2-dev libjpeg-...
1
vote
1answer
9k views

Ubuntu 18.04 curl returns SSL_ERROR_SYSCALL

This all works just fine in 16.04. I am running the same setup in 18.04, cntlm running as my proxy, ca-certificates updated with the corporate root cert. Chrome, Firefox, wget, etc work with https ...