<?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>S i X h E a D { ? } &#187; FileZilla</title>
	<atom:link href="http://sixhead.com/tag/filezilla/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixhead.com</link>
	<description>เมื่อความรู้มีไว้แบ่งปัน</description>
	<lastBuildDate>Tue, 23 Feb 2010 14:36:26 +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>ติดตั้ง vsftpd + ssl</title>
		<link>http://sixhead.com/2009/09/04/install-vsftp-and-ssl/</link>
		<comments>http://sixhead.com/2009/09/04/install-vsftp-and-ssl/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 03:15:39 +0000</pubDate>
		<dc:creator>Pipo</dc:creator>
				<category><![CDATA[FreeBSD & Linux]]></category>
		<category><![CDATA[daemon]]></category>
		<category><![CDATA[FileZilla]]></category>
		<category><![CDATA[ftpd]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://sixhead.com/?p=496</guid>
		<description><![CDATA[vsftpd ก็คือ FTP (Daemon) Server อีกตัวหนึ่งนั่นเองมี feature ดีๆ หลายอย่างไปอ่านกันเองครับ ที่นี่
การติดตั้งบน FreeBSD นั้นง่ายมากๆ

# cd /usr/ports/ftp/vsftpd
# make config (เลือกให้ support SSL ด้วย)
สร้าง ssl key ก่อน
# openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout /etc/vsftpd.pem -out /etc/vsftpd.pem
สร้างไฟล์ /usr/local/etc/vsftpd.chroot_list ขึ้นมาโดยใส่ชื่อ root เข้าไป (เป็นการบังคับว่า user root เท่านั้นที่สามารถออกมานอก home ได้)
เมื่อลงเสร็จก็ เอา config นี้ไปใส่ใน /etc/vsftpd.conf ได้เลย (config นี้ไม่อนุญาติ anonymous)
xferlog_file=/var/log/vsftpd.log
&#160;
listen=YES
max_clients=200
max_per_ip=5
file_open_mode=0777
local_umask=0022
&#160;
local_enable=YES
write_enable=YES
&#160;
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/usr/local/etc/vsftpd.chroot_list
&#160;
connect_from_port_20=YES
hide_ids=YES
pasv_min_port=50000
pasv_max_port=60000
&#160;
xferlog_enable=YES
ls_recurse_enable=NO
ascii_download_enable=NO
async_abor_enable=YES
&#160;
one_process_model=NO
idle_session_timeout=120
data_connection_timeout=300
accept_timeout=60
connect_timeout=60
anon_max_rate=50000
&#160;
anonymous_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
anon_world_readable_only=NO
&#160;
ssl_enable=YES
force_local_logins_ssl=YES
force_local_data_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES
rsa_cert_file=/etc/vsftpd.pem
rsa_private_key_file=/etc/vsftpd.pem
start service
/usr/local/libexec/vsftpd /etc/vsftpd.conf [...]]]></description>
			<content:encoded><![CDATA[<p>vsftpd ก็คือ FTP (Daemon) Server อีกตัวหนึ่งนั่นเองมี feature ดีๆ หลายอย่างไปอ่านกันเองครับ <a href="http://vsftpd.beasts.org"><span style="color: #888888;">ที่นี่</span></a><br />
การติดตั้งบน FreeBSD นั้นง่ายมากๆ<br />
<span id="more-496"></span></p>
<pre># cd /usr/ports/ftp/vsftpd
# make config (เลือกให้ support SSL ด้วย)</pre>
<p>สร้าง ssl key ก่อน</p>
<pre># openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout /etc/vsftpd.pem -out /etc/vsftpd.pem</pre>
<p>สร้างไฟล์ /usr/local/etc/vsftpd.chroot_list ขึ้นมาโดยใส่ชื่อ root เข้าไป (เป็นการบังคับว่า user root เท่านั้นที่สามารถออกมานอก home ได้)</p>
<p>เมื่อลงเสร็จก็ เอา config นี้ไปใส่ใน /etc/vsftpd.conf ได้เลย (config นี้ไม่อนุญาติ anonymous)</p>
<pre class="perl">xferlog_file=/var/<a href="http://perldoc.perl.org/functions/log.html"><span style="color: #000066;">log</span></a>/vsftpd.<a href="http://perldoc.perl.org/functions/log.html"><span style="color: #000066;">log</span></a>
&nbsp;
<a href="http://perldoc.perl.org/functions/listen.html"><span style="color: #000066;">listen</span></a>=YES
max_clients=<span style="color: #cc66cc;">200</span>
max_per_ip=<span style="color: #cc66cc;">5</span>
file_open_mode=<span style="color: #cc66cc;">0777</span>
local_umask=<span style="color: #cc66cc;">0022</span>
&nbsp;
local_enable=YES
write_enable=YES
&nbsp;
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/usr/<a href="http://perldoc.perl.org/functions/local.html"><span style="color: #000066;">local</span></a>/etc/vsftpd.chroot_list
&nbsp;
connect_from_port_20=YES
hide_ids=YES
pasv_min_port=<span style="color: #cc66cc;">50000</span>
pasv_max_port=<span style="color: #cc66cc;">60000</span>
&nbsp;
xferlog_enable=YES
ls_recurse_enable=NO
ascii_download_enable=NO
async_abor_enable=YES
&nbsp;
one_process_model=NO
idle_session_timeout=<span style="color: #cc66cc;">120</span>
data_connection_timeout=<span style="color: #cc66cc;">300</span>
accept_timeout=<span style="color: #cc66cc;">60</span>
connect_timeout=<span style="color: #cc66cc;">60</span>
anon_max_rate=<span style="color: #cc66cc;">50000</span>
&nbsp;
anonymous_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
anon_world_readable_only=NO
&nbsp;
ssl_enable=YES
force_local_logins_ssl=YES
force_local_data_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES
rsa_cert_file=/etc/vsftpd.pem
rsa_private_key_file=/etc/vsftpd.pem</pre>
<p>start service</p>
<pre>/usr/local/libexec/vsftpd /etc/vsftpd.conf &</pre>
<p>ทุกครั้งที่จะ restart service ก็ให้ kill process ทิ้งก่อน (เพราะเรารันแบบ stand alone)<br />
ลองใช้ ftp client connect ดูถ้าเราใช้ ssl ด้วยก็ให้เลือก FTPES - FTP over explicit TLS/SSL<br />
แนะนำ <a href="http://filezilla-project.org/download.php">Filezilla</a> ถ้ายังไม่สำเร็จให้ลอง</p>
<pre>ssl_enable=NO</pre>
<p>ไปก่อนแล้ว connect ที่ port 21 ตามปกติ</p>
<p><map name='google_ad_map_496_f21c57aff87a446f'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/496?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_496_f21c57aff87a446f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=496&amp;url= http%3A%2F%2Fsixhead.com%2F2009%2F09%2F04%2Finstall-vsftp-and-ssl%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://sixhead.com/2009/09/04/install-vsftp-and-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ตั้งให้ FileZilla มองเห็น hidden file (.htaccess, .htpasswd, etc)</title>
		<link>http://sixhead.com/2008/06/11/set-filezilla-show-hidden-file/</link>
		<comments>http://sixhead.com/2008/06/11/set-filezilla-show-hidden-file/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 03:57:53 +0000</pubDate>
		<dc:creator>Pipo</dc:creator>
				<category><![CDATA[Memo]]></category>
		<category><![CDATA[FileZilla]]></category>
		<category><![CDATA[hidden]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://sixhead.com/?p=55</guid>
		<description><![CDATA[Server -> Force showing hidden files



]]></description>
			<content:encoded><![CDATA[<p>Server -> Force showing hidden files</p>
<p><map name='google_ad_map_55_f21c57aff87a446f'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/55?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_55_f21c57aff87a446f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=55&amp;url= http%3A%2F%2Fsixhead.com%2F2008%2F06%2F11%2Fset-filezilla-show-hidden-file%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://sixhead.com/2008/06/11/set-filezilla-show-hidden-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upload แบบเลิกรำคาญไฟล์ขยะ ด้วย FileZilla</title>
		<link>http://sixhead.com/2008/01/25/upload-filter-with-filezilla/</link>
		<comments>http://sixhead.com/2008/01/25/upload-filter-with-filezilla/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 07:50:18 +0000</pubDate>
		<dc:creator>Pipo</dc:creator>
				<category><![CDATA[Web Developer]]></category>
		<category><![CDATA[FileZilla]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://sixhead.com/2008/01/25/upload-%e0%b9%84%e0%b8%9f%e0%b8%a5%e0%b9%8c%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b9%80%e0%b8%a5%e0%b8%b4%e0%b8%81%e0%b8%a3%e0%b8%b3%e0%b8%84%e0%b8%b2%e0%b8%8d-fla-thumbsdb-_notes-%e0%b8%af%e0%b8%a5/</guid>
		<description><![CDATA[ทำงานเกี่ยวกับ website มันก็หนีไม่พ้นเรื่อง upload, download
ไม่รู้คนอื่นรำคาญไหมกับไอ้การที่ต้อง upload folder _notes และ ไฟล์ต่างๆ ใน _notes ที่ 
dreamweaver มันสร้างไว้ให้รวมถึง Thumbs.db ที่เกิดจากการใช้ windows explorer 
ดูไฟล์รูปต่างๆ
ไหนจะเน็ตช้าอีกถ้ารีบๆ upload พวก source ไฟล์ต่างๆ อาจไม่จำเป็น เช่น 
.fla (Flash source file), .zip ฯลฯ 
นึกรำคาญในใจมาหลายปีแล้วได้แต่็ปล่อยผ่านไป แต่ิเวลานี้เลิกรำคาญแล้วต้องกำจัดแทน
มองตัว ftp client ซึ่งใช้ FileZilla อยู่ทุกวันไม่เคยได้สังเกตุว่ามีเมนูนี้อยู่ วันนี้ได้ลอง
ถึงกับต้องร้องออกมาว่า &#34;เอ้า! เฮ๊ย...&#34; มาเริ่มเลยดีกว่า

1. ตัวอย่างไฟล์ .fla ที่ไม่จำเป็นต้อง upload ขึ้นไป

2. 

3. สร้าง Filter ใหม่

4. ระบุค่าต่างๆ

5. กำหนดเงื่อนไข จะเห็นได้ว่าทำได้หลายอย่าง

6. [...]]]></description>
			<content:encoded><![CDATA[<p>ทำงานเกี่ยวกับ website มันก็หนีไม่พ้นเรื่อง upload, download</p>
<p>ไม่รู้คนอื่นรำคาญไหมกับไอ้การที่ต้อง upload folder <b>_notes</b> และ ไฟล์ต่างๆ ใน <b>_notes</b> ที่ <br />
dreamweaver มันสร้างไว้ให้รวมถึง <b>Thumbs.db</b> ที่เกิดจากการใช้ windows explorer <br />
ดูไฟล์รูปต่างๆ</p>
<p>ไหนจะเน็ตช้าอีกถ้ารีบๆ upload พวก source ไฟล์ต่างๆ อาจไม่จำเป็น เช่น <b><br />
.fla</b> (Flash source file), <b>.zip</b> ฯลฯ </p>
<p>นึกรำคาญในใจมาหลายปีแล้วได้แต่็ปล่อยผ่านไป แต่ิเวลานี้เลิกรำคาญแล้วต้องกำจัดแทน<br />
มองตัว ftp client ซึ่งใช้ <b>FileZilla</b> อยู่ทุกวันไม่เคยได้สังเกตุว่ามีเมนูนี้อยู่ วันนี้ได้ลอง<br />
ถึงกับต้องร้องออกมาว่า &quot;เอ้า! เฮ๊ย...&quot; มาเริ่มเลยดีกว่า</p>
<p><span id="more-8"></span><br />
1. ตัวอย่างไฟล์ .fla ที่ไม่จำเป็นต้อง upload ขึ้นไป<br />
<img width="520" height="447" alt="" src="http://sixhead.com/wp-content/uploads/image/FileZilla/Filter/1.jpg" /></p>
<p>2. <br />
<img width="227" height="208" alt="" src="http://sixhead.com/wp-content/uploads/image/FileZilla/Filter/2.jpg" /></p>
<p>3. สร้าง Filter ใหม่<br />
<img width="385" height="400" alt="" src="http://sixhead.com/wp-content/uploads/image/FileZilla/Filter/3.jpg" /></p>
<p>4. ระบุค่าต่างๆ<br />
<img width="575" height="423" alt="" src="http://sixhead.com/wp-content/uploads/image/FileZilla/Filter/4.jpg" /></p>
<p>5. กำหนดเงื่อนไข จะเห็นได้ว่าทำได้หลายอย่าง<br />
<img width="575" height="423" alt="" src="http://sixhead.com/wp-content/uploads/image/FileZilla/Filter/5.jpg" /></p>
<p>6. Local filters: ก็คือในเครื่องเรา และแน่นอน Remote filters: ก็คือบน server นั่นเอง<br />
<img width="385" height="400" alt="" src="http://sixhead.com/wp-content/uploads/image/FileZilla/Filter/6.jpg" /></p>
<p>7. ลองเข้ามาดู folder flash ที่เก็บไฟล์ไว้ ก็ปรากฏว่าสิ่งที่น่ารำคาญได้หายไปจากชีิวิตเสียแล้ว<br />
<img width="520" height="419" alt="" src="http://sixhead.com/wp-content/uploads/image/FileZilla/Filter/7.jpg" /></p>
<p>
ทิ้งท้ายไว้หน่อยถ้าใครที่ชอบมึนอย่าลืมว่าได้ตั้ง filter อะไรไปบ้างหล่ะ เดี๋ยวจะหาไฟล์ upload, download ไม่เจอ</p>
<p>
&nbsp;</p>
<p><map name='google_ad_map_8_f21c57aff87a446f'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/8?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_8_f21c57aff87a446f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=8&amp;url= http%3A%2F%2Fsixhead.com%2F2008%2F01%2F25%2Fupload-filter-with-filezilla%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://sixhead.com/2008/01/25/upload-filter-with-filezilla/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
