<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CODIGG &#187; curl</title>
	<atom:link href="http://www.codigg.com/tag/curl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codigg.com</link>
	<description>关注互联网，关注云计算，关注生活</description>
	<lastBuildDate>Fri, 08 Jul 2011 02:48:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>lighttpd不支持Expect: 100-continue的解决办法</title>
		<link>http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/</link>
		<comments>http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 05:46:32 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[Linux/Server]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[JAVA]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=710</guid>
		<description><![CDATA[由于lighttpd1.4.21之前的版本不支持Expect: 100-continue，所以有可能访问出现“HTTP/1.1 417 Expectation Failed”等错误提示，搜集整理了很多解决方法，如下：

1. 升级到 lighttpd 1.5.x，那应该没有这个问题了

2. （推荐）升级到 lighttpd 1.4.21 或以上版本（即最新的realease版本），在配置文件中加上一句



?View Code BASHserver.reject-expect-100-with-417=&#34;disabled&#34;

<span class="readmore"><a href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/" title="lighttpd不支持Expect: 100-continue的解决办法">阅读全文——共564字</a></span><h3>相关文章</h3><ul><li><a href="http://www.codigg.com/2010/01/php-aes-java-encrypt-decrypt/" title="php版的AES算法（可与java兼容） 2010.01.21">php版的AES算法（可与java兼容）</a>(115)</li>
<li><a href="http://www.codigg.com/2009/09/php-curl-download-filename/" title="php curl下载文件时保存原文件名 2009.09.6">php curl下载文件时保存原文件名</a>(70)</li>
<li><a href="http://www.codigg.com/2011/07/php-uniqid-performance/" title="PHP中uniqid的性能 2011.07.8">PHP中uniqid的性能</a>(17)</li>
<li><a href="http://www.codigg.com/2010/12/php-treapdb-thrift/" title="用php操作treapdb 2010.12.7">用php操作treapdb</a>(8)</li>
<li><a href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/" title="PHP pfsockopen错误码的含义 2010.10.18">PHP pfsockopen错误码的含义</a>(13)</li>
<li><a href="http://www.codigg.com/2010/08/php-request-cookie/" title="搞清楚php中$_REQUEST变量的问题，备忘一下 2010.08.16">搞清楚php中$_REQUEST变量的问题，备忘一下</a>(61)</li>
<li><a href="http://www.codigg.com/2010/07/java-jmap-eclipse-memory-analyzer/" title="Java程序内存分析:JMap与Eclipse Memory Analyzer 2010.07.27">Java程序内存分析:JMap与Eclipse Memory Analyzer</a>(10)</li>
<li><a href="http://www.codigg.com/2010/04/ftp-curl-backup-shell/" title="下载远程ftp文件备份到本地的脚本 2010.04.7">下载远程ftp文件备份到本地的脚本</a>(22)</li>
<li><a href="http://www.codigg.com/2010/03/php-rrdtool-install/" title="安装php rrdtool 2010.03.24">安装php rrdtool</a>(205)</li>
<li><a href="http://www.codigg.com/2010/03/web-server-header-apache-lighttpd-nginx/" title="伪装WEB服务器(apache/lighttpd/nginx) 2010.03.20">伪装WEB服务器(apache/lighttpd/nginx)</a>(11)</li>
</ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://darmowedzwonienie.pl" >VoipDiscount</a> : <a class="comment_content" href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/#comment-213019" title="View the entire comment by VoipDiscount" >I'm really enjoying the theme/design of your blog....</a></li>
<li><a class="commentor" href="http://cheapcontent.info/" >short article writing tips</a> : <a class="comment_content" href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/#comment-212883" title="View the entire comment by short article writing tips" >I wish to express some appreciation to you just fo...</a></li>
<li><a class="commentor" href="http://www.makoto-dojo.net/" >visit this</a> : <a class="comment_content" href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/#comment-212844" title="View the entire comment by visit this" >Hello convertxtodvd freeware ideal statement vso s...</a></li>
<li><a class="commentor" href="http://www.youtube.com/watch?v=FqdL-xuoLOI" >Jonathon Joern</a> : <a class="comment_content" href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/#comment-211330" title="View the entire comment by Jonathon Joern" >I’d need to check with you here. Which just isn’t ...</a></li>
<li><a class="commentor" href="http://djstools.com/cerca/akai-mpc-1000" >akai mpc 1000</a> : <a class="comment_content" href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/#comment-210926" title="View the entire comment by akai mpc 1000" >Hello, this is a good post!</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/feed/</wfw:commentRss>
		<slash:comments>67</slash:comments>
		</item>
		<item>
		<title>下载远程ftp文件备份到本地的脚本</title>
		<link>http://www.codigg.com/2010/04/ftp-curl-backup-shell/</link>
		<comments>http://www.codigg.com/2010/04/ftp-curl-backup-shell/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 04:13:14 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[Linux/Server]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=664</guid>
		<description><![CDATA[同事让我帮忙写的脚本。

FTP上每天有更新文件，名字是用日期命名（如日志等），但ftp空间有限，因此要求每天将前一天的文件下载到本地，然后删除ftp上10天前的文件。

用之前的一篇文章加以拼装就能实现：使用curl操作ftp（上传、下载、删除等）

http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/

最后的脚本如下：

<span class="readmore"><a href="http://www.codigg.com/2010/04/ftp-curl-backup-shell/" title="下载远程ftp文件备份到本地的脚本">阅读全文——共915字</a></span><h3>相关文章</h3><ul><li><a href="http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/" title="shell命令：使用curl操作ftp（上传、下载、删除等） 2009.12.3">shell命令：使用curl操作ftp（上传、下载、删除等）</a>(114)</li>
<li><a href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/" title="lighttpd不支持Expect: 100-continue的解决办法 2010.04.13">lighttpd不支持Expect: 100-continue的解决办法</a>(67)</li>
<li><a href="http://www.codigg.com/2010/04/suse-ftp-client-list-ls-failed/" title="SuSE FTP Client 连接服务器无法list的问题 2010.04.11">SuSE FTP Client 连接服务器无法list的问题</a>(20)</li>
<li><a href="http://www.codigg.com/2010/03/linux-baby-rocker-bash-shell/" title="几行代码搞定哄小孩问题(转载) 2010.03.22">几行代码搞定哄小孩问题(转载)</a>(4)</li>
<li><a href="http://www.codigg.com/2010/02/shell-date-script/" title="两个小脚本 2010.02.25">两个小脚本</a>(7)</li>
<li><a href="http://www.codigg.com/2009/09/php-curl-download-filename/" title="php curl下载文件时保存原文件名 2009.09.6">php curl下载文件时保存原文件名</a>(70)</li>
</ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.youtube.com/watch?v=d6lvKVH2ZnI" >facebook video download</a> : <a class="comment_content" href="http://www.codigg.com/2010/04/ftp-curl-backup-shell/#comment-213984" title="View the entire comment by facebook video download" >Can I just say what a relief to find people that t...</a></li>
<li><a class="commentor" href="http://www.scriptlerim.net" >liseli porno</a> : <a class="comment_content" href="http://www.codigg.com/2010/04/ftp-curl-backup-shell/#comment-213858" title="View the entire comment by liseli porno" >you might be truly range 1 admin your blogging is ...</a></li>
<li><a class="commentor" href="http://www.sohbetederiz.com/" >sohbet odaları</a> : <a class="comment_content" href="http://www.codigg.com/2010/04/ftp-curl-backup-shell/#comment-213816" title="View the entire comment by sohbet odaları" >oh my god wonderful put up admin will check your w...</a></li>
<li><a class="commentor" href="http://www.kolonkanseribelirtileri.com/" >kolon kanseri belirtileri</a> : <a class="comment_content" href="http://www.codigg.com/2010/04/ftp-curl-backup-shell/#comment-213112" title="View the entire comment by kolon kanseri belirtileri" >oh my god great put up admin will check your web s...</a></li>
<li><a class="commentor" href="http://xarthd.com/x-art-models-francesca-and-jamie-skin-to-skin/" >Jamie</a> : <a class="comment_content" href="http://www.codigg.com/2010/04/ftp-curl-backup-shell/#comment-211794" title="View the entire comment by Jamie" >I suggest you take part in contests for 1 of the g...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/04/ftp-curl-backup-shell/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>shell命令：使用curl操作ftp（上传、下载、删除等）</title>
		<link>http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/</link>
		<comments>http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 11:29:55 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[Linux/Server]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[ftp]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=552</guid>
		<description><![CDATA[在shell中如果直接用ftp命令来操作服务器，太麻烦了，要交互。这里用curl来实现，本站提供的康盛漫游平台-超级大富翁的购买推荐页面 http://www.codigg.com/demo/rich/final.html 就是用这个实现的上传。

无需多说，直接上代码



?View Code BASH# 列出某目录下的所有文件

curl -u user:psw ftp://www.codigg.com 

<span class="readmore"><a href="http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/" title="shell命令：使用curl操作ftp（上传、下载、删除等）">阅读全文——共339字</a></span><h3>相关文章</h3><ul><li><a href="http://www.codigg.com/2010/04/ftp-curl-backup-shell/" title="下载远程ftp文件备份到本地的脚本 2010.04.7">下载远程ftp文件备份到本地的脚本</a>(22)</li>
<li><a href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/" title="lighttpd不支持Expect: 100-continue的解决办法 2010.04.13">lighttpd不支持Expect: 100-continue的解决办法</a>(67)</li>
<li><a href="http://www.codigg.com/2010/04/suse-ftp-client-list-ls-failed/" title="SuSE FTP Client 连接服务器无法list的问题 2010.04.11">SuSE FTP Client 连接服务器无法list的问题</a>(20)</li>
<li><a href="http://www.codigg.com/2009/09/php-curl-download-filename/" title="php curl下载文件时保存原文件名 2009.09.6">php curl下载文件时保存原文件名</a>(70)</li>
</ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.obbergton.com/" >obbergton</a> : <a class="comment_content" href="http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/#comment-214251" title="View the entire comment by obbergton" >Y’all should ask them to make the boots too for ne...</a></li>
<li><a class="commentor" href="http://www.anilmarin.com/jak-wyslac-pit-przez-internet/1718/" >e-deklaracje</a> : <a class="comment_content" href="http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/#comment-214210" title="View the entire comment by e-deklaracje" >In Firefox - How to open in new tab automatically ...</a></li>
<li><a class="commentor" href="http://www.celebritiesdietsecrets.co.uk/" >How to Lose Stomach Fat</a> : <a class="comment_content" href="http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/#comment-214198" title="View the entire comment by How to Lose Stomach Fat" >Your site is very informative and helpful. This sh...</a></li>
<li><a class="commentor" href="http://www.obbergton.com/" >obbergton</a> : <a class="comment_content" href="http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/#comment-214059" title="View the entire comment by obbergton" >None of these scenarios would result in the extinc...</a></li>
<li><a class="commentor" href="http://herbalremediesi.blogspot.com/2012/01/homemade-herbal-remedies.html" >homemade herbal remedies</a> : <a class="comment_content" href="http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/#comment-213974" title="View the entire comment by homemade herbal remedies" >An fascinating speech is couturier annotate. I rec...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/feed/</wfw:commentRss>
		<slash:comments>114</slash:comments>
		</item>
		<item>
		<title>php curl下载文件时保存原文件名</title>
		<link>http://www.codigg.com/2009/09/php-curl-download-filename/</link>
		<comments>http://www.codigg.com/2009/09/php-curl-download-filename/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 02:21:06 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[curl]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=522</guid>
		<description><![CDATA[假设down.php的主要内容如下：



?View Code PHPheader&#40;&#34;Location: http://www.codigg.com/download/src-name.rar&#34;&#41;;

exit;



<span class="readmore"><a href="http://www.codigg.com/2009/09/php-curl-download-filename/" title="php curl下载文件时保存原文件名">阅读全文——共710字</a></span><h3>相关文章</h3><ul><li><a href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/" title="lighttpd不支持Expect: 100-continue的解决办法 2010.04.13">lighttpd不支持Expect: 100-continue的解决办法</a>(67)</li>
<li><a href="http://www.codigg.com/2011/07/php-uniqid-performance/" title="PHP中uniqid的性能 2011.07.8">PHP中uniqid的性能</a>(17)</li>
<li><a href="http://www.codigg.com/2010/12/php-treapdb-thrift/" title="用php操作treapdb 2010.12.7">用php操作treapdb</a>(8)</li>
<li><a href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/" title="PHP pfsockopen错误码的含义 2010.10.18">PHP pfsockopen错误码的含义</a>(13)</li>
<li><a href="http://www.codigg.com/2010/08/php-request-cookie/" title="搞清楚php中$_REQUEST变量的问题，备忘一下 2010.08.16">搞清楚php中$_REQUEST变量的问题，备忘一下</a>(61)</li>
<li><a href="http://www.codigg.com/2010/04/ftp-curl-backup-shell/" title="下载远程ftp文件备份到本地的脚本 2010.04.7">下载远程ftp文件备份到本地的脚本</a>(22)</li>
<li><a href="http://www.codigg.com/2010/03/php-rrdtool-install/" title="安装php rrdtool 2010.03.24">安装php rrdtool</a>(205)</li>
<li><a href="http://www.codigg.com/2010/01/php-aes-java-encrypt-decrypt/" title="php版的AES算法（可与java兼容） 2010.01.21">php版的AES算法（可与java兼容）</a>(115)</li>
<li><a href="http://www.codigg.com/2009/12/shell-curl-ftp-upload-download-delete/" title="shell命令：使用curl操作ftp（上传、下载、删除等） 2009.12.3">shell命令：使用curl操作ftp（上传、下载、删除等）</a>(114)</li>
<li><a href="http://www.codigg.com/2009/05/7-free-powerful-file-managers-1/" title="7款php/ajax/js实现的免费web文件管理工具（上） 2009.05.26">7款php/ajax/js实现的免费web文件管理工具（上）</a>(122)</li>
</ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.rafaelflorist.com" >flowers and gifts delivery</a> : <a class="comment_content" href="http://www.codigg.com/2009/09/php-curl-download-filename/#comment-214152" title="View the entire comment by flowers and gifts delivery" >Between me and my husband we've owned more MP3 pla...</a></li>
<li><a class="commentor" href="http://www.scamornotreviews.com/legit-money-methods/mark-vance-legit-money-methods-review-legit-money-methods-bonus" >Legit Money Methods</a> : <a class="comment_content" href="http://www.codigg.com/2009/09/php-curl-download-filename/#comment-213452" title="View the entire comment by Legit Money Methods" >Great friend! I should definitely say I`m impresse...</a></li>
<li><a class="commentor" href="http://cheapcontent.info/" >paid article writing jobs</a> : <a class="comment_content" href="http://www.codigg.com/2009/09/php-curl-download-filename/#comment-213183" title="View the entire comment by paid article writing jobs" >I want to get across my passion for your kindness ...</a></li>
<li><a class="commentor" href="http://vidvain.com/hyip-investment" >hyip investment</a> : <a class="comment_content" href="http://www.codigg.com/2009/09/php-curl-download-filename/#comment-213114" title="View the entire comment by hyip investment" >php curlä¸‹è½½æ–‡ä»¶æ—¶ä¿å­˜åŽŸæ–‡ä»¶å - CODIGG...</a></li>
<li><a class="commentor" href="http://djstools.com/cerca/hagstrom-super-swede" >hagstrom super swede</a> : <a class="comment_content" href="http://www.codigg.com/2009/09/php-curl-download-filename/#comment-213058" title="View the entire comment by hagstrom super swede" >Hello, this is a good post!</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2009/09/php-curl-download-filename/feed/</wfw:commentRss>
		<slash:comments>70</slash:comments>
		</item>
	</channel>
</rss>

