<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://valley.egloos.com/rss/style/style.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>이글루스 'curl' 태그 최근글</title>
		<link>http://valley.egloos.com/tag/curl</link>
		<description>curl</description>
		<language>ko</language>
		<pubDate>Thu, 28 Apr 2011 17:27:45 +0900</pubDate>
		<generator>Egloos</generator>
		<item>
	<title><![CDATA[[curl 대 wget] 어느 프로그램이 더 좋을까?]]></title>
	<link>http://mcchae.egloos.com/10700915</link>
	<guid>http://mcchae.egloos.com/10700915</guid>
	<description>
	<![CDATA[ 
웹페이지 혹은 웹에서 다운로드를 명령행에서 다운받을 때wget 또는 curl 명령을 사용합니다.(과거에는 wget 을 더 애용했습니다. 그냥 단순 url 내용을 가져올 요량으로요)  두개가 다 비슷하다면 어떤 경우에 어떤 것이 더 나을까 잠시 찾아보았더니,비교블로그 가 있더군요. 그 내용중 일부를 우리글로 옮겨봅니다.  둘다 지원하는 내용- FTP, HTTP, HTTPS 프로토콜을 이용하여 명령행으로 컨텐츠 다운로드- 스크립트 등을 이용하여 자동으로 작업 가능- 오픈소스 및 프리소프트웨어- 90년대 프로젝트 시작  CURL의 특징- libcurl 이용 : 크로스 플랫폼의 아주 많이 사용하는 라이브러리- Pipes : stdin 또는 stdoout의 pipe을 이용하는 전통적인 unix 스타일의 방식도 지원-	]]>
	</description>
	<pubDate>Thu, 28 Apr 2011 17:27:45 +0900</pubDate>
	<dc:creator><![CDATA[지훈현서]]></dc:creator>
</item>
<item>
	<title><![CDATA[curl()]]></title>
	<link>http://rchemist.egloos.com/348590</link>
	<guid>http://rchemist.egloos.com/348590</guid>
	<description>
	<![CDATA[ 
XML Parsing 때문에 file_get_contents($url);  이 함수를 쓰려했더니 파일을 열 수 있는(?) 권한이 없어서 에러가 났다. 하지만 파일을 받을 수는 없는 노릇이고. 대안으로 쓸 수 있는 방법이 바로 curl()함수!!!! 	]]>
	</description>
	<pubDate>Wed, 06 Apr 2011 00:31:36 +0900</pubDate>
	<dc:creator><![CDATA[연금술사]]></dc:creator>
</item>
<item>
	<title><![CDATA[[ERROR] configure: error: Please reinstall the libcurl distribution -]]></title>
	<link>http://anti1346.egloos.com/4804631</link>
	<guid>http://anti1346.egloos.com/4804631</guid>
	<description>
	<![CDATA[ 
PHP# ./configure ... checking for cURL in default path... not found configure: error: Please reinstall the libcurl distribution -     easy.h should be in &amp;lt;curl-dir&amp;gt;/include/curl/ [해결] # yum -y install curl-devel	]]>
	</description>
	<pubDate>Fri, 30 Jul 2010 21:08:43 +0900</pubDate>
	<dc:creator><![CDATA[변군 이글루스]]></dc:creator>
</item>
<item>
	<title><![CDATA[[ERROR] configure: error: Please reinstall the libcurl distribution]]></title>
	<link>http://anti1346.egloos.com/4785975</link>
	<guid>http://anti1346.egloos.com/4785975</guid>
	<description>
	<![CDATA[ 
php 설치 시 ... checking for cURL in default path... not found configure: error: Please reinstall the libcurl distribution -     easy.h should be in &amp;lt;curl-dir&amp;gt;/include/curl/[해결] # yum -y install curl curl-devel	]]>
	</description>
	<pubDate>Mon, 05 Jul 2010 11:32:21 +0900</pubDate>
	<dc:creator><![CDATA[변군 이글루스]]></dc:creator>
</item>
<item>
	<title><![CDATA[curl]]></title>
	<link>http://sweetcha.egloos.com/3637145</link>
	<guid>http://sweetcha.egloos.com/3637145</guid>
	<description>
	<![CDATA[ 
 $url = &quot;http://www.abc.com/xxxx.php&quot;;  $ci = curl_init(); curl_setopt($ci, CURLOPT_CUSTOMREQUEST, POST); curl_setopt($ci, CURLOPT_URL, $url); curl_setopt($ci, CURLOPT_RETURNTRANSFER, 1); // ** echo 하지 않고 받아서 컨트롤 하고 싶다면 옵션을 쓰자 $response = curl_exec($ci); $result = curl_getinfo($ci); curl_close ($ci);  if($result['http_code'] == 200){ # $response를 가지고 놀자~ 랄라 랄라 }     code block도 잡을 수 있다(from tagos)	]]>
	</description>
	<pubDate>Wed, 24 Mar 2010 19:07:15 +0900</pubDate>
	<dc:creator><![CDATA[chacha]]></dc:creator>
</item>
<item>
	<title><![CDATA[curl 사용이 설정되어있는지 확인하는 방법]]></title>
	<link>http://mahler83.egloos.com/5143685</link>
	<guid>http://mahler83.egloos.com/5143685</guid>
	<description>
	<![CDATA[ 
curl 사용이 설정되어있는지 확인하는 방법 - by 말러83 그누커뮨에서 퍼온 글입니다.   그누보드 관리자를 실행시켜 phpinfo를 보거나, &amp;lt;?phpinfo()?&amp;gt; 라는 내용으로 php 파일을 만들어 브라우저에서 실행시킨다.  위그림과 같이 cURL support가 enabled로 되어있으면 사용 가능한 상황입니다. Enable 시키기 위해서는 만약 호스팅 환경이면 호스팅사에 문의하시고, 개인 서버이면 설정을 바꾸셔야 합니다. 방법은 검색엔진에서 찾아보시면 아주 많이 나와있습니다. 	]]>
	</description>
	<pubDate>Wed, 09 Dec 2009 11:57:24 +0900</pubDate>
	<dc:creator><![CDATA[의학과 컴퓨터 지식]]></dc:creator>
</item>
<item>
	<title><![CDATA[C언어:FTP 사이트 검색 프로그램 (curl 라이브러리 사용)]]></title>
	<link>http://sunyzero.egloos.com/4208261</link>
	<guid>http://sunyzero.egloos.com/4208261</guid>
	<description>
	<![CDATA[ 
 출처: 본인 (비상업적 용도 복제 허용, 소스코드는 당연히 apache 라이선스)  일을 하다보니 FTP 사이트에서 특정 파일명을 검색할 일이 있었는데 비슷한 기능을 찾다보니 도저히 찾을 수 없었다. 몇몇 프로그램이 기능은 있는데 원하는 형태로 출력을 바꿀 수 없어서 그냥 만들기로 결심했다.  원래 쓰던 curl 라이브러리를 이용해서 간단하게 제작했고, 비슷한 기능이 필요한 사람들을 위해서 글을 쓴다. (원래 만든 프로그램은 모듈형식으로 만들었기 때문에 이를 사용할 수 있는 개별 유틸리티로 만들기 위해 코드를 슬림하게 줄였다(기능도 줄였다). 따라서 필요한 기능이 있다면 각자 본인들이 수정해서 만드시길...)  * 소스코드파일 :  (curl 라이브러리를 사용했으므로 -lcurl 로 링킹해주는 것을 잊지 마	]]>
	</description>
	<pubDate>Mon, 10 Aug 2009 20:31:32 +0900</pubDate>
	<dc:creator><![CDATA[The truth will set you free]]></dc:creator>
</item>
<item>
	<title><![CDATA[SFTP with cURL]]></title>
	<link>http://chanik.egloos.com/1923029</link>
	<guid>http://chanik.egloos.com/1923029</guid>
	<description>
	<![CDATA[ 
cURL을 써서 SFTP 프로토콜로 파일 업로드      ./curl -T file.txt sftp://user:passwd@192.168.1.101:36651/~/     ./curl -T file.txt scp://user:passwd@192.168.1.101:36651/home/chanik/  URI 이름짓기 규칙은참조.  ftp는 vsftpd의 chroot 기능을 써서 접근 범위를 제한할 수 있지만 scp/sftp를 쓸 때는 달리 방법을 찾아야 한다. 아래 페이지에 좋은 정보가 있다.   OpenSSH SFTP chroot() with ChrootDirectory (4.8p1부터 지원)      그런데, CentOS4.7 및 CentOS5.3 의 OpenSSH에는 이 패치가 적용되어 있지 않은 것 같	]]>
	</description>
	<pubDate>Mon, 29 Jun 2009 22:25:27 +0900</pubDate>
	<dc:creator><![CDATA[시험さま]]></dc:creator>
</item>
<item>
	<title><![CDATA[cURL을 이용하여 FTP로 파일 올리기]]></title>
	<link>http://purewell.egloos.com/3797418</link>
	<guid>http://purewell.egloos.com/3797418</guid>
	<description>
	<![CDATA[ 
로컬 파일을 원격에 전송할 때는 '-T [local file]' 옵션을 사용한다. 뒤에 URL이 HTTP면 'PUT'을 사용한다. (물론 FTP도 동일 명령이긴 하지만 명령 형식이 좀 다르다.)  $ curl -T file -u 'ID:PASSWORD' 'ftp://URL'    예) 로컬파일 'purewell.txt'를 'dev.purewell.biz'서버의 '/tmp' 디렉토리에 업로드  $ curl -T 'purewell.txt' -u 'purewell:helloworld' 'ftp://dev.purewell.biz//tmp'  	]]>
	</description>
	<pubDate>Tue, 24 Jun 2008 14:54:28 +0900</pubDate>
	<dc:creator><![CDATA[Purewell.BIZ]]></dc:creator>
</item>
<item>
	<title><![CDATA[php5.2.1에서 curl 7.15.5 의 문제]]></title>
	<link>http://rockk.egloos.com/1837928</link>
	<guid>http://rockk.egloos.com/1837928</guid>
	<description>
	<![CDATA[ 
관련 URL :  아래와 같은 문제 발생.  libcurl built to support ipv6 uses getaddrinfo() to resolve host names.  getaddrinfo() sorts the response list which effectively kills how libcurl deals with round-robin DNS entries.  All details: initial suggested function to use for randomizing the response:  그리하여, curl-7.18.1을 설치하여 해결.  설치 참고 문서  [설치 순서]  1. 최신버전을 다운로드.http://curl.haxx.se/download.html  2. openssl의 설치 경	]]>
	</description>
	<pubDate>Thu, 10 Apr 2008 18:40:50 +0900</pubDate>
	<dc:creator><![CDATA[Rockk Hole - season #2..]]></dc:creator>
</item>
<item>
	<title><![CDATA[cURL을 이용하여 FTP 절대경로에서 받아오기]]></title>
	<link>http://purewell.egloos.com/3666929</link>
	<guid>http://purewell.egloos.com/3666929</guid>
	<description>
	<![CDATA[ 
$ curl -s -u 'user:password'    cURL을 오랜 기간 썼지만, 언제나 서버가 해당 계정에 대해 감옥을 걸어놔서 절대경로를 들어가는게 불가능했다. (당연히 보안을 위해서라도 계정을 감옥 속에 쳐 넣어야지!)    이래저래 유용하게 썼는데, 그런 이유로 절대경로를 입력할 이유가 없었는데, 요즘 그런 기능을 필요했는데 무심결에 이렇게 하면 작동하지 않을까...했는데 작동하네. 결론은 도메인 뒤에 슬래시를 한 번 더 붙여주면 깔꼬롬하게 절대경로를 접근할 수 있다. 물론 서버에서 절대경로진입을 허가할 경우에만 말이다.    참고로 &quot;-s&quot; 옵션은 cURL이 내보내는 각종 오류 메시지 등을 잠재우는 일을 한다.  	]]>
	</description>
	<pubDate>Wed, 19 Mar 2008 10:22:34 +0900</pubDate>
	<dc:creator><![CDATA[Purewell.BIZ]]></dc:creator>
</item>
	</channel>
</rss>

