Curl on Windows

时光总嘲笑我的痴心妄想 提交于 2019-12-12 19:28:03

问题


I have followed all on this link : How do I install/set up and use cURL on Windows?

But I could not install latest curl 7.50.3 from https://curl.haxx.se/download.html. on windows 7 / 2008 Server R2

I have basically tried below
1. Download Win64 version
2. Unzip
3. Copy curl.exe under /src to C:\Windows (thats my %windir%)
4. Open cmd and type 'curl'

Below is the error im getting
c:\Curl\src>curl
curl:./.libs/lt-curl.c:233: FATAL: couldn't find curl.

I have also added the folder where I have unzipped curl in 'Path' env variable.


回答1:


I had the same problem with that version and also put it in my %windir%. Instead I downloaded the latest version at https://sourceforge.net/projects/curlforwindows/files/?source=navbar and added curl to %PATH% on machine. Hope that helps.



来源:https://stackoverflow.com/questions/39726079/curl-on-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!