<?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>Ubuntu Sharing &#187; Internet</title>
	<atom:link href="http://ubuntuguide.net/category/internet/feed" rel="self" type="application/rss+xml" />
	<link>http://ubuntuguide.net</link>
	<description>Ubuntu Tips &#124; Ubuntu Howtos &#124; Ubuntu Tutorials</description>
	<lastBuildDate>Thu, 29 Jul 2010 04:06:17 +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>Install Flashget for Linux in Ubuntu and configure Firefox plugin</title>
		<link>http://ubuntuguide.net/install-flashget-for-linux-in-ubuntu-and-configure-firefox-plugin</link>
		<comments>http://ubuntuguide.net/install-flashget-for-linux-in-ubuntu-and-configure-firefox-plugin#comments</comments>
		<pubDate>Wed, 28 Jul 2010 05:55:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>

		<guid isPermaLink="false">http://ubuntuguide.net/?p=3304</guid>
		<description><![CDATA[Flashget for Linux 1.0.2 has released with BT/7.23 and 64-bit system support.If you used to be a Windows user,you might would like to install and configure Flashget in your Ubuntu machine.
Install Flashget:
Ubuntu user can download the deb package and double-click to install,then there should be a launcher &#8220;FlashGet&#8221; in Applications->Internet menu.
Source Package:http://bbs.flashget.com/download/flashget-1.0.2-0_en.tar.gz
RPM Package:http://bbs.flashget.com/download/flashget-1.0.2-0_en.noarch.rpm
Deb Package:http://bbs.flashget.com/download/flashget-1.0.2-0_en.noarch.deb
Configure Firefox [...]


Related posts:<ol><li><a href='http://ubuntuguide.net/install-facebook-chat-plugin-for-pidgin-in-ubuntu' rel='bookmark' title='Permanent Link: Install Facebook Chat plugin for Pidgin in Ubuntu'>Install Facebook Chat plugin for Pidgin in Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/install-skype-api-plugin-for-pidgin-on-ubuntu' rel='bookmark' title='Permanent Link: Install Skype API plugin for Pidgin on ubuntu'>Install Skype API plugin for Pidgin on ubuntu</a></li>
<li><a href='http://ubuntuguide.net/how-to-install-fonomo-plugin-for-pidgin' rel='bookmark' title='Permanent Link: How to install Fonomo plugin for Pidgin'>How to install Fonomo plugin for Pidgin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Flashget for Linux 1.0.2 has released with BT/7.23 and 64-bit system support.If you used to be a Windows user,you might would like to install and configure Flashget in your Ubuntu machine.</p>
<p><strong>Install Flashget:</strong></p>
<p>Ubuntu user can download the deb package and double-click to install,then there should be a launcher &#8220;FlashGet&#8221; in <em>Applications->Internet</em> menu.</p>
<p>Source Package:<a href="http://bbs.flashget.com/download/flashget-1.0.2-0_en.tar.gz">http://bbs.flashget.com/download/flashget-1.0.2-0_en.tar.gz</a></p>
<p>RPM Package:<a href="http://bbs.flashget.com/download/flashget-1.0.2-0_en.noarch.rpm">http://bbs.flashget.com/download/flashget-1.0.2-0_en.noarch.rpm</a></p>
<p>Deb Package:<a href="http://bbs.flashget.com/download/flashget-1.0.2-0_en.noarch.deb">http://bbs.flashget.com/download/flashget-1.0.2-0_en.noarch.deb</a></p>
<p><strong>Configure Firefox Plugin for Flashget:</strong></p>
<p>There&#8217;s a popular Firefox plugin called <em>Flashgot</em> that can launch download manager in Firefox.However,before install this plugin,we need to do following first:</p>
<p>1.Open up a terminal window (Applications->Accessories->Terminal) and execute:</p>
<pre> gconftool-2 -s /desktop/gnome/url-handlers/flashget/command '/usr/bin/flashget %s' --type String</pre>
<pre>gconftool-2 -s /desktop/gnome/url-handlers/flashget/enabled --type Boolean true</pre>
<p>2.Open Firefox and type <code>about:config</code> in address bar,then click &#8220;I&#8217;ll be careful,I promise!&#8221;</p>
<blockquote><p>Right-click on blank area -> New ->Boolean -> network.protocol-handler.external.flashget -> true<br />
Right-click on blank area again -> New -> String -> network.protocol-handler.app.flashget -> /usr/bin/flashget</p></blockquote>
<p>3. Run this command:</p>
<pre>sudo echo  -e  '#''!'"/bin/sh""\n""/usr/share/flashget/flashget "'$'"1" >/usr/bin/flashget</pre>
<p>Now,install FlashGot plugin from this link: <a href="https://addons.mozilla.org/en-US/firefox/addon/220/" target="_blank">https://addons.mozilla.org/en-US/firefox/addon/220/</a></p>
<p>restart Firefox and go to Tools -> Add-ons -> Extensions -> FlashGot Preferences -> Click &#8220;add&#8221; in General tab and add FlashGet download manager (see the screenshot):</p>
<p><a href="http://ubuntuguide.net/wp-content/uploads/2010/07/Flashget-Download-Manager.png"><img src="http://ubuntuguide.net/wp-content/uploads/2010/07/Flashget-Download-Manager-414x360.png" alt="" title="Flashget-Download-Manager" width="414" height="360" class="alignnone size-medium wp-image-3307" /></a></p>


<p>Related posts:<ol><li><a href='http://ubuntuguide.net/install-facebook-chat-plugin-for-pidgin-in-ubuntu' rel='bookmark' title='Permanent Link: Install Facebook Chat plugin for Pidgin in Ubuntu'>Install Facebook Chat plugin for Pidgin in Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/install-skype-api-plugin-for-pidgin-on-ubuntu' rel='bookmark' title='Permanent Link: Install Skype API plugin for Pidgin on ubuntu'>Install Skype API plugin for Pidgin on ubuntu</a></li>
<li><a href='http://ubuntuguide.net/how-to-install-fonomo-plugin-for-pidgin' rel='bookmark' title='Permanent Link: How to install Fonomo plugin for Pidgin'>How to install Fonomo plugin for Pidgin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ubuntuguide.net/install-flashget-for-linux-in-ubuntu-and-configure-firefox-plugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Mozilla Firefox 4.0 Beta 3 Pre in Ubuntu 10.04 (from PPA)</title>
		<link>http://ubuntuguide.net/install-mozilla-firefox-4-0-beta-3-pre-in-ubuntu-10-04-from-ppa</link>
		<comments>http://ubuntuguide.net/install-mozilla-firefox-4-0-beta-3-pre-in-ubuntu-10-04-from-ppa#comments</comments>
		<pubDate>Sat, 24 Jul 2010 03:52:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>

		<guid isPermaLink="false">http://ubuntuguide.net/?p=3282</guid>
		<description><![CDATA[Mozilla Firefox 4.0 Beta 3 Pre has been released.If you want to test the latest Mozilla Firefox beta release in Ubuntu,you can add ubuntu-mozilla-daily ppa into your repository.It should add the latest packages as quickly as possible.
Open up a terminal window from Applications->Accessories menu and run this command to add the PPA:
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
update your [...]


Related posts:<ol><li><a href='http://ubuntuguide.net/upgrade-mozilla-firefox-to-the-latest-in-ubuntu-using-ubuntuzilla' rel='bookmark' title='Permanent Link: Upgrade Mozilla Firefox to the latest in Ubuntu using Ubuntuzilla'>Upgrade Mozilla Firefox to the latest in Ubuntu using Ubuntuzilla</a></li>
<li><a href='http://ubuntuguide.net/how-to-install-firefox-35-on-ubuntu' rel='bookmark' title='Permanent Link: How to install Firefox 3.5 on ubuntu'>How to install Firefox 3.5 on ubuntu</a></li>
<li><a href='http://ubuntuguide.net/downthemall-a-download-manager-extension-for-mozilla-firefox' rel='bookmark' title='Permanent Link: DownThemAll-A Download Manager extension for Mozilla Firefox'>DownThemAll-A Download Manager extension for Mozilla Firefox</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Mozilla Firefox 4.0 Beta 3 Pre has been released.If you want to test the latest Mozilla Firefox beta release in Ubuntu,you can add ubuntu-mozilla-daily ppa into your repository.It should add the latest packages as quickly as possible.</p>
<p>Open up a terminal window from <em>Applications->Accessories</em> menu and run this command to add the PPA:</p>
<pre>sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa</pre>
<p>update your system and uset <code>apt-get install</code> command to install the packages:</p>
<pre>sudo apt-get update
sudo apt-get install firefox-4.0</pre>
<p>Once installation finish,you see &#8220;Mozilla Developer Preview Web Browser&#8221; in <em>Applications->Internet</em> menu.</p>
<p><a href="http://ubuntuguide.net/wp-content/uploads/2010/07/firefox_beta3pre.png"><img src="http://ubuntuguide.net/wp-content/uploads/2010/07/firefox_beta3pre-500x334.png" alt="" title="firefox_beta3pre" width="500" height="334" class="alignnone size-medium wp-image-3283" /></a></p>
<p><a href="http://ubuntuguide.net/wp-content/uploads/2010/07/firefox_beta3.png"><img src="http://ubuntuguide.net/wp-content/uploads/2010/07/firefox_beta3-454x360.png" alt="" title="firefox_beta3" width="454" height="360" class="alignnone size-medium wp-image-3285" /></a></p>


<p>Related posts:<ol><li><a href='http://ubuntuguide.net/upgrade-mozilla-firefox-to-the-latest-in-ubuntu-using-ubuntuzilla' rel='bookmark' title='Permanent Link: Upgrade Mozilla Firefox to the latest in Ubuntu using Ubuntuzilla'>Upgrade Mozilla Firefox to the latest in Ubuntu using Ubuntuzilla</a></li>
<li><a href='http://ubuntuguide.net/how-to-install-firefox-35-on-ubuntu' rel='bookmark' title='Permanent Link: How to install Firefox 3.5 on ubuntu'>How to install Firefox 3.5 on ubuntu</a></li>
<li><a href='http://ubuntuguide.net/downthemall-a-download-manager-extension-for-mozilla-firefox' rel='bookmark' title='Permanent Link: DownThemAll-A Download Manager extension for Mozilla Firefox'>DownThemAll-A Download Manager extension for Mozilla Firefox</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ubuntuguide.net/install-mozilla-firefox-4-0-beta-3-pre-in-ubuntu-10-04-from-ppa/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install Thunderbird 3.1 from PPA in 64-bit Ubuntu 10.04</title>
		<link>http://ubuntuguide.net/install-thunderbird-3-1-from-ppa-in-64-bit-ubuntu-10-04</link>
		<comments>http://ubuntuguide.net/install-thunderbird-3-1-from-ppa-in-64-bit-ubuntu-10-04#comments</comments>
		<pubDate>Tue, 20 Jul 2010 04:39:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>

		<guid isPermaLink="false">http://ubuntuguide.net/?p=3264</guid>
		<description><![CDATA[Thunderbird 3.1 was released a month ago and it can be easily installed in 32-bit Ubuntu with Ubuntuzilla.
Finally,64-bit Thunderbird 3.1 was added into its PPA and we can run following commands in terminal(Applications-&#62;Accessories-&#62;Terminal) to install in a 64-bit machine:
sudo add-apt-repository ppa:eugenesan/mozilla
sudo apt-get update
sudo apt-get install thunderbird



Related posts:How to Install Thunderbird 3 Shredder in Ubuntu 9.10/9.04/8.10
Send [...]


Related posts:<ol><li><a href='http://ubuntuguide.net/how-to-install-thunderbird-3-shredder-in-ubuntu-9-109-048-10' rel='bookmark' title='Permanent Link: How to Install Thunderbird 3 Shredder in Ubuntu 9.10/9.04/8.10'>How to Install Thunderbird 3 Shredder in Ubuntu 9.10/9.04/8.10</a></li>
<li><a href='http://ubuntuguide.net/send-and-receive-emails-with-thunderbird-in-ubuntu-linux' rel='bookmark' title='Permanent Link: Send and Receive emails with Thunderbird in Ubuntu Linux'>Send and Receive emails with Thunderbird in Ubuntu Linux</a></li>
<li><a href='http://ubuntuguide.net/install-mozilla-firefox-4-0-beta-3-pre-in-ubuntu-10-04-from-ppa' rel='bookmark' title='Permanent Link: Install Mozilla Firefox 4.0 Beta 3 Pre in Ubuntu 10.04 (from PPA)'>Install Mozilla Firefox 4.0 Beta 3 Pre in Ubuntu 10.04 (from PPA)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Thunderbird 3.1 was released a month ago and it can be easily installed in 32-bit Ubuntu with <a title="Mozilla Software Installer" href="http://sourceforge.net/projects/ubuntuzilla/" target="_blank">Ubuntuzilla</a>.</p>
<p>Finally,64-bit Thunderbird 3.1 was added into its PPA and we can run following commands in terminal(Applications-&gt;Accessories-&gt;Terminal) to install in a 64-bit machine:</p>
<pre>sudo add-apt-repository ppa:eugenesan/mozilla
sudo apt-get update
sudo apt-get install thunderbird</pre>
<p><a href="http://ubuntuguide.net/wp-content/uploads/2010/07/Thunderbird_3.1.png"><img class="alignnone size-medium wp-image-3265" title="Thunderbird_3.1" src="http://ubuntuguide.net/wp-content/uploads/2010/07/Thunderbird_3.1-373x360.png" alt="" width="373" height="360" /></a></p>


<p>Related posts:<ol><li><a href='http://ubuntuguide.net/how-to-install-thunderbird-3-shredder-in-ubuntu-9-109-048-10' rel='bookmark' title='Permanent Link: How to Install Thunderbird 3 Shredder in Ubuntu 9.10/9.04/8.10'>How to Install Thunderbird 3 Shredder in Ubuntu 9.10/9.04/8.10</a></li>
<li><a href='http://ubuntuguide.net/send-and-receive-emails-with-thunderbird-in-ubuntu-linux' rel='bookmark' title='Permanent Link: Send and Receive emails with Thunderbird in Ubuntu Linux'>Send and Receive emails with Thunderbird in Ubuntu Linux</a></li>
<li><a href='http://ubuntuguide.net/install-mozilla-firefox-4-0-beta-3-pre-in-ubuntu-10-04-from-ppa' rel='bookmark' title='Permanent Link: Install Mozilla Firefox 4.0 Beta 3 Pre in Ubuntu 10.04 (from PPA)'>Install Mozilla Firefox 4.0 Beta 3 Pre in Ubuntu 10.04 (from PPA)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ubuntuguide.net/install-thunderbird-3-1-from-ppa-in-64-bit-ubuntu-10-04/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropbox usage made easy to sync files anywhere within Nautilus</title>
		<link>http://ubuntuguide.net/dropbox-usage-made-easy-to-sync-files-anywhere-within-nautilus</link>
		<comments>http://ubuntuguide.net/dropbox-usage-made-easy-to-sync-files-anywhere-within-nautilus#comments</comments>
		<pubDate>Tue, 22 Jun 2010 03:16:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://ubuntuguide.net/?p=3157</guid>
		<description><![CDATA[Dropbox is a popular free software that sync files between your desktop pc and laptop.When you installed Dropbox and set the Dropbox folder.All files/subdirectories from the folder are two-way synced to Dropbox server and can be downloaded/synced in another machine with Dropbox Client installed.
The point is only the files within the Dropbox folder can be [...]


Related posts:<ol><li><a href='http://ubuntuguide.net/enable-audio-preview-in-nautilus' rel='bookmark' title='Permanent Link: Enable Audio Preview in Nautilus'>Enable Audio Preview in Nautilus</a></li>
<li><a href='http://ubuntuguide.net/make-nautilus-always-use-location-entry-in-ubuntu-10-04' rel='bookmark' title='Permanent Link: Make Nautilus always use Location Entry in Ubuntu 10.04'>Make Nautilus always use Location Entry in Ubuntu 10.04</a></li>
<li><a href='http://ubuntuguide.net/add-open-as-root-to-filefolder-right-click-menu-in-ubuntu' rel='bookmark' title='Permanent Link: Add &#8220;open as root&#8221; to File/Folder Right-Click menu in Ubuntu'>Add &#8220;open as root&#8221; to File/Folder Right-Click menu in Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Dropbox is a popular free software that sync files between your desktop pc and laptop.When you installed Dropbox and set the Dropbox folder.All files/subdirectories from the folder are two-way synced to Dropbox server and can be downloaded/synced in another machine with Dropbox Client installed.<br />
The point is only the files within the Dropbox folder can be synced.New edited file in another directory you want to sync must be copied to this folder.And you need to edit this copy in Dropbox folder to sync any change because changes in previous file don&#8217;t take effect.<br />
Fortunately,in Ubuntu we can use <em>symbolic link</em> to make Dropbox sync files beyond the Dropbox folder.</p>
<p><em>All we need is this script:</em>  <a href='http://ubuntuguide.net/wp-content/uploads/2010/06/nautilus-dropbox-script.sh'>nautilus-dropbox-script.sh</a> by <em>W.H. Kalpa Pathum</em></p>
<p><strong>How to Use this script:</strong></p>
<p>1.Click previous link to download the script and edit it with your favourite editor.<br />
2.Find <strong>DROPBOX_DIR=&#8221;$HOME/Dropbox/&#8221;</strong> and replace <strong>$HOME/Dropbox/</strong> to your Dropbox folder (or its subdirectory).<br />
3.Move the changed script to <em>~/.gnome2/nautilus-scripts/</em> directory.<br />
4.give it execute privilege:</p>
<pre lang="bash">cd ~/.gnome2/nautilus-scripts
chmod +x nautilus-dropbox-script.sh</pre>
<p>Now,create or edit a file anywhere beyond the Dropbox folder and in its right-click menu you can choose to sync to Dropbox.</p>
<p><a href="http://ubuntuguide.net/wp-content/uploads/2010/06/sync_dropbox.png"><img src="http://ubuntuguide.net/wp-content/uploads/2010/06/sync_dropbox-500x197.png" alt="" title="sync_dropbox" width="500" height="197" class="alignnone size-medium wp-image-3166" /></a></p>
<p>Useful Link:<br />
<a href="http://www.dropbox.com/downloading" target="_blank">Download Dropbox (deb package)</a></p>
<p><a href="http://www.ubuntugeek.com/howto-install-dropbox-in-ubuntu-9-10karmic9-04jaunty8-10intrepid8-04hardy.html" target="_blank">How to install Dropbox in Ubuntu</a></p>
<p><a href="https://www.dropbox.com/referrals/NTQ1MTE2MTk" target="_blank">Sign-up for a dropbox account</a></p>


<p>Related posts:<ol><li><a href='http://ubuntuguide.net/enable-audio-preview-in-nautilus' rel='bookmark' title='Permanent Link: Enable Audio Preview in Nautilus'>Enable Audio Preview in Nautilus</a></li>
<li><a href='http://ubuntuguide.net/make-nautilus-always-use-location-entry-in-ubuntu-10-04' rel='bookmark' title='Permanent Link: Make Nautilus always use Location Entry in Ubuntu 10.04'>Make Nautilus always use Location Entry in Ubuntu 10.04</a></li>
<li><a href='http://ubuntuguide.net/add-open-as-root-to-filefolder-right-click-menu-in-ubuntu' rel='bookmark' title='Permanent Link: Add &#8220;open as root&#8221; to File/Folder Right-Click menu in Ubuntu'>Add &#8220;open as root&#8221; to File/Folder Right-Click menu in Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ubuntuguide.net/dropbox-usage-made-easy-to-sync-files-anywhere-within-nautilus/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zeya-bring your music anywhere with a web browser</title>
		<link>http://ubuntuguide.net/zeya-bring-your-music-anywhere-with-a-web-browser</link>
		<comments>http://ubuntuguide.net/zeya-bring-your-music-anywhere-with-a-web-browser#comments</comments>
		<pubDate>Mon, 21 Jun 2010 00:51:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://ubuntuguide.net/?p=3148</guid>
		<description><![CDATA[Zeya is a media player that lets you bring your music to any computer with a web browser.
The client runs in any browser that supports the HTML 5 draft standard technologies— no Flash needed. No Silverlight, no applets, no plugins, no external players.
Zeya is free software. You may use it under the terms of the [...]


Related posts:<ol><li><a href='http://ubuntuguide.net/cmus-small-fast-and-powerful-console-music-player-in-ubuntu-linux' rel='bookmark' title='Permanent Link: cmus-small, fast and powerful console music player in Ubuntu Linux'>cmus-small, fast and powerful console music player in Ubuntu Linux</a></li>
<li><a href='http://ubuntuguide.net/enable-remote-desktop-in-virtual-machinevirtualbox-guest' rel='bookmark' title='Permanent Link: Enable remote desktop in Virtual machine(Virtualbox guest)'>Enable remote desktop in Virtual machine(Virtualbox guest)</a></li>
<li><a href='http://ubuntuguide.net/easy-file-receiving-from-friends-on-the-internet-with-droopy' rel='bookmark' title='Permanent Link: Easy file receiving from friends on the internet with Droopy'>Easy file receiving from friends on the internet with Droopy</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Zeya is a media player that lets you bring your music to any computer with a web browser.<br />
The client runs in any browser that supports the HTML 5 draft standard technologies— no Flash needed. No Silverlight, no applets, no plugins, no external players.<br />
Zeya is free software. You may use it under the terms of the GNU Affero GPL, v.3 or (at your option) any later version.</p>
<p><strong>Server requirements:</strong></p>
<p>    * Python 2.5+ (2.6+ recommended)<br />
    * oggenc<br />
    * mpg123 (optional— for decoding MP3 files)<br />
    * flac (optional— for decoding FLAC files)</p>
<p><strong>Install and Run zeya</strong></p>
<p>Zeya can be easily installed by running this command in <em>Applications->Accessories->Terminal</em></p>
<pre lang="bash">sudo aptitude install zeya</pre>
<p>Then start Zeya and serve all the music within a given directory:</p>
<pre>zeya --path path/to/your/music</pre>
<p>For example,serve all the music in ~/Music folder:</p>
<pre>zeya --path ~/Music/</pre>
<p>Now,you can get them in any computer by visiting <strong>http://ServerIPAddress:8080</strong> with a web browser.<br />
If you want to change the server port,add <em>&#8211;port</em> parameter in the command:</p>
<pre>zeya --port=9000 --path ~/Music/</pre>
<p><img src="http://ubuntuguide.net/wp-content/uploads/2010/06/Zeya-music-443x360.png" alt="" title="Zeya-music" width="443" height="360" class="alignnone size-medium wp-image-3149" /><br />
and you </p>


<p>Related posts:<ol><li><a href='http://ubuntuguide.net/cmus-small-fast-and-powerful-console-music-player-in-ubuntu-linux' rel='bookmark' title='Permanent Link: cmus-small, fast and powerful console music player in Ubuntu Linux'>cmus-small, fast and powerful console music player in Ubuntu Linux</a></li>
<li><a href='http://ubuntuguide.net/enable-remote-desktop-in-virtual-machinevirtualbox-guest' rel='bookmark' title='Permanent Link: Enable remote desktop in Virtual machine(Virtualbox guest)'>Enable remote desktop in Virtual machine(Virtualbox guest)</a></li>
<li><a href='http://ubuntuguide.net/easy-file-receiving-from-friends-on-the-internet-with-droopy' rel='bookmark' title='Permanent Link: Easy file receiving from friends on the internet with Droopy'>Easy file receiving from friends on the internet with Droopy</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ubuntuguide.net/zeya-bring-your-music-anywhere-with-a-web-browser/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Easy file receiving from friends on the internet with Droopy</title>
		<link>http://ubuntuguide.net/easy-file-receiving-from-friends-on-the-internet-with-droopy</link>
		<comments>http://ubuntuguide.net/easy-file-receiving-from-friends-on-the-internet-with-droopy#comments</comments>
		<pubDate>Sun, 23 May 2010 07:13:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://ubuntuguide.net/?p=3081</guid>
		<description><![CDATA[I have written a post about easy sharing and uploading files over the network in Ubuntu with SimpleHTTPSeverwithUpload.py.This tutorial shows another python script called Droopy that provide as well as internet file uploading.
Droopy works on Unix (Linux, BSD, MacOSX) and Windows,and you only need to install Python to make it work on your computer.
So if [...]


Related posts:<ol><li><a href='http://ubuntuguide.net/instant-lan-file-sharing-with-one-command-in-ubuntu' rel='bookmark' title='Permanent Link: Instant LAN File Sharing with one command in Ubuntu'>Instant LAN File Sharing with one command in Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/hack-indicator-applet-in-ubuntu-10-04-replace-default-keyboard-shortcuts' rel='bookmark' title='Permanent Link: Hack Indicator applet in Ubuntu 10.04-Replace default keyboard shortcuts'>Hack Indicator applet in Ubuntu 10.04-Replace default keyboard shortcuts</a></li>
<li><a href='http://ubuntuguide.net/clean-up-cacheuseless-filekernel-to-free-disk-space-by-ubuntu-tweak' rel='bookmark' title='Permanent Link: Clean up cache,useless file/kernel to free disk space by Ubuntu-Tweak'>Clean up cache,useless file/kernel to free disk space by Ubuntu-Tweak</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have written a post about <a href="http://ubuntuguide.net/http-server-support-uploading-files-from-windows-in-ubuntu">easy sharing and uploading files over the network in Ubuntu with <em>SimpleHTTPSeverwithUpload.py</em></a>.This tutorial shows another python script called <em>Droopy</em> that provide as well as internet file uploading.<br />
Droopy works on Unix (Linux, BSD, MacOSX) and Windows,and you only need to install <a href="http://python.org/" target="_blank">Python</a> to make it work on your computer.<br />
So if you&#8217;re chatting with your friends over the internet,and she or he wants to send you something and unfortunately the file is too large and it’s painfully slow.Just run <em>Droopy</em> and it will do the work.</p>
<p><strong>How to use Droopy</strong><br />
Supposing you’ve downloaded and saved the <em>Droopy</em> in ~/bin/.Create and navigate to the folder that you want the received files to be stored.Then run <em>Droopy</em>.You can give a message and a picture to display:<br />
<em>for example:</em></p>
<pre>mkdir ~/uploads
cd ~/uploads
python ~/bin/droopy -m "Hi, it's me Bob. You can send me a file." -p ~/avatar.png</pre>
<p>Now,check it out at <a href="http://localhost:8000" target="_blank">http://localhost:8000</a>, and give  <a href="http://stackp.online.fr/droopy-ip.php?port=8000" target="_blank">your computer’s address</a>  to your friends.Your friend can type <em>http://your_ip:8000</em> in browser to see the screen looks like following one and send your files:<br />
<img src="http://ubuntuguide.net/wp-content/uploads/2010/05/droopy-browser-358x360.png" alt="" title="droopy-browser" width="358" height="360" class="alignnone size-medium wp-image-3082" /></p>
<p>Type droopy -h to see more options:<br />
Usage: droopy [options] [PORT]</p>
<blockquote><p>Options:<br />
  -h, &#8211;help                            show this help message and exit<br />
  -m MESSAGE, &#8211;message=MESSAGE         set the message<br />
  -p PICTURE, &#8211;picture=PICTURE         set the picture<br />
  -d DIRECTORY, &#8211;directory=DIRECTORY   set the directory to upload files to<br />
  &#8211;save-config                         save options in a configuration file<br />
  &#8211;delete-config                       delete the configuration file and exit</p></blockquote>
<p><a href="http://stackp.online.fr/wp-content/uploads/droopy" target="_blank">Download Droopy</a></p>


<p>Related posts:<ol><li><a href='http://ubuntuguide.net/instant-lan-file-sharing-with-one-command-in-ubuntu' rel='bookmark' title='Permanent Link: Instant LAN File Sharing with one command in Ubuntu'>Instant LAN File Sharing with one command in Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/hack-indicator-applet-in-ubuntu-10-04-replace-default-keyboard-shortcuts' rel='bookmark' title='Permanent Link: Hack Indicator applet in Ubuntu 10.04-Replace default keyboard shortcuts'>Hack Indicator applet in Ubuntu 10.04-Replace default keyboard shortcuts</a></li>
<li><a href='http://ubuntuguide.net/clean-up-cacheuseless-filekernel-to-free-disk-space-by-ubuntu-tweak' rel='bookmark' title='Permanent Link: Clean up cache,useless file/kernel to free disk space by Ubuntu-Tweak'>Clean up cache,useless file/kernel to free disk space by Ubuntu-Tweak</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ubuntuguide.net/easy-file-receiving-from-friends-on-the-internet-with-droopy/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lightspark-An alternative High-performance Free Flash Player</title>
		<link>http://ubuntuguide.net/lightspark-an-alternative-high-performance-free-flash-player</link>
		<comments>http://ubuntuguide.net/lightspark-an-alternative-high-performance-free-flash-player#comments</comments>
		<pubDate>Fri, 21 May 2010 06:34:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>

		<guid isPermaLink="false">http://ubuntuguide.net/?p=3076</guid>
		<description><![CDATA[Lightspark is another open-source Flash Player for Linux.Compared to Adobe Flash Player,Gnash and swfdec,Light also has following features:
    *  JIT compilation of ActionScript to native x86 bytecode using LLVM
    * Hardware accelerated rendering using OpenGL Shaders (GLSL)
    * Very good and robust support for current-generation [...]


Related posts:<ol><li><a href='http://ubuntuguide.net/how-to-know-the-version-of-flash-player-you-have' rel='bookmark' title='Permanent Link: How to know the version of flash player you have'>How to know the version of flash player you have</a></li>
<li><a href='http://ubuntuguide.net/install-64-bit-flash-player-on-ubuntu-904' rel='bookmark' title='Permanent Link: Install 64-bit Flash Player on Ubuntu 9.04'>Install 64-bit Flash Player on Ubuntu 9.04</a></li>
<li><a href='http://ubuntuguide.net/save-flash-videos-from-web-page-in-ubuntu-linux' rel='bookmark' title='Permanent Link: Save Flash Videos from Web page in Ubuntu Linux'>Save Flash Videos from Web page in Ubuntu Linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Lightspark is another open-source Flash Player for Linux.Compared to Adobe Flash Player,Gnash and swfdec,Light also has following features:</p>
<p>    *  JIT compilation of ActionScript to native x86 bytecode using LLVM<br />
    * Hardware accelerated rendering using OpenGL Shaders (GLSL)<br />
    * Very good and robust support for current-generation ActionScript 3<br />
    * A new, clean, codebase exploiting multithreading and optimized for modern hardware. Designed from scratch after the official Flash documentation was released.</p>
<p>The current version is still an alpha release,but actually the core part of Lightspark is mostly stable now. Code is not ready for general use yet, as it is not robust enough when facing unexpected conditions.</p>
<p>Ubuntu users can install and test the new Flash Player from Lightspark repository:</p>
<pre>sudo add-apt-repository ppa:sssup/sssup-ppa
sudo aptitude update
sudo aptitude install lightspark</pre>
<p><strong>Useful links:</strong><br />
Source Page:<a href="http://lightspark.sourceforge.net/">http://lightspark.sourceforge.net/</a></p>
<p>PPA; <a href="https://launchpad.net/~sssup/+archive/sssup-ppa">https://launchpad.net/~sssup/+archive/sssup-ppa</a></p>


<p>Related posts:<ol><li><a href='http://ubuntuguide.net/how-to-know-the-version-of-flash-player-you-have' rel='bookmark' title='Permanent Link: How to know the version of flash player you have'>How to know the version of flash player you have</a></li>
<li><a href='http://ubuntuguide.net/install-64-bit-flash-player-on-ubuntu-904' rel='bookmark' title='Permanent Link: Install 64-bit Flash Player on Ubuntu 9.04'>Install 64-bit Flash Player on Ubuntu 9.04</a></li>
<li><a href='http://ubuntuguide.net/save-flash-videos-from-web-page-in-ubuntu-linux' rel='bookmark' title='Permanent Link: Save Flash Videos from Web page in Ubuntu Linux'>Save Flash Videos from Web page in Ubuntu Linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ubuntuguide.net/lightspark-an-alternative-high-performance-free-flash-player/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install latest stable Skype from official repository in Ubuntu</title>
		<link>http://ubuntuguide.net/how-to-install-latest-stable-skype-from-official-repository-in-ubuntu</link>
		<comments>http://ubuntuguide.net/how-to-install-latest-stable-skype-from-official-repository-in-ubuntu#comments</comments>
		<pubDate>Thu, 20 May 2010 07:25:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://ubuntuguide.net/?p=3071</guid>
		<description><![CDATA[Skype is a very popular software that allows you to make free calls over the Internet and talk with friends,family face to face. This tutorial shows how to install the latest stable version in Ubuntu from Skype repository which will automatically keep the software update to date.
Open terminal from Applications->Accessories menu and type this to [...]


Related posts:<ol><li><a href='http://ubuntuguide.net/easy-way-to-install-skype-on-ubuntu' rel='bookmark' title='Permanent Link: Easy way to install Skype on Ubuntu'>Easy way to install Skype on Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/install-skype-21-beta-on-ubuntu' rel='bookmark' title='Permanent Link: Install Skype 2.1 beta on Ubuntu'>Install Skype 2.1 beta on Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/install-skype-api-plugin-for-pidgin-on-ubuntu' rel='bookmark' title='Permanent Link: Install Skype API plugin for Pidgin on ubuntu'>Install Skype API plugin for Pidgin on ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.skype.com/intl/en/home" target="_blank">Skype</a> is a very popular software that allows you to make free calls over the Internet and talk with friends,family face to face. This tutorial shows how to install the latest stable version in Ubuntu from Skype repository which will automatically keep the software update to date.</p>
<p>Open terminal from Applications->Accessories menu and type this to edit <em>/etc/apt/sources.list</em>:</p>
<pre lang="bash">gksudo gedit /etc/apt/sources.list</pre>
<p>add the following line and save the file.</p>
<pre>deb http://download.skype.com/linux/repos/debian/ stable non-free</pre>
<p>Add the gpg key and update your system:</p>
<pre lang="bash">sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 0xd66b746e
sudo aptitude update</pre>
<p>Now,install Skype and you can launch from <em>Applications->Internet</em> menu.</p>
<pre lang="bash">sudo aptitude install skype</pre>
<p><strong>NOTE:</strong>I have tested in amd64 system,but unfortunately this only works in i386 system.<br />
And for amd64 users,use following commands to download current 64-bit version from skype website:</p>
<pre lang="bash">wget -O skype_ubuntu-current_amd64.deb http://www.skype.com/go/getskype-linux-beta-ubuntu-64
sudo dpkg -i skype-ubuntu-current_amd64.deb
sudo rm skype-ubuntu-current_amd64.deb</pre>
<p>and you might still need to install the needed packages first: </p>
<pre lang="bash">sudo apt-get install ia32-libs lib32asound2 libqt4-core libqt4-gui</pre>


<p>Related posts:<ol><li><a href='http://ubuntuguide.net/easy-way-to-install-skype-on-ubuntu' rel='bookmark' title='Permanent Link: Easy way to install Skype on Ubuntu'>Easy way to install Skype on Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/install-skype-21-beta-on-ubuntu' rel='bookmark' title='Permanent Link: Install Skype 2.1 beta on Ubuntu'>Install Skype 2.1 beta on Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/install-skype-api-plugin-for-pidgin-on-ubuntu' rel='bookmark' title='Permanent Link: Install Skype API plugin for Pidgin on ubuntu'>Install Skype API plugin for Pidgin on ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ubuntuguide.net/how-to-install-latest-stable-skype-from-official-repository-in-ubuntu/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple Http Server support uploading files from Windows in Ubuntu</title>
		<link>http://ubuntuguide.net/http-server-support-uploading-files-from-windows-in-ubuntu</link>
		<comments>http://ubuntuguide.net/http-server-support-uploading-files-from-windows-in-ubuntu#comments</comments>
		<pubDate>Mon, 17 May 2010 18:44:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://ubuntuguide.net/?p=3059</guid>
		<description><![CDATA[Ubuntu user can easily share a temporary file/folder to others by running SimpleHTTPServer script with python.
Just navigate to the directory you want to share in terminal and run:
python -m SimpleHTTPServer
then users in the same LAN can get this directory by typing this in browser:
http://http_server_IP_here:8000
However,this doesn&#8217;t support uploading files and what if you want a file [...]


Related posts:<ol><li><a href='http://ubuntuguide.net/fix-windows-when-boot-files-bootinintldrare-missing' rel='bookmark' title='Permanent Link: Fix Windows when boot files (boot.ini,NTLDR)are missing'>Fix Windows when boot files (boot.ini,NTLDR)are missing</a></li>
<li><a href='http://ubuntuguide.net/frequently-used-bash-shell-keyboard-shortcuts-in-ubuntu' rel='bookmark' title='Permanent Link: Frequently-used Bash shell Keyboard shortcuts in Ubuntu'>Frequently-used Bash shell Keyboard shortcuts in Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/install-mplayer-and-multimedia-codecs-in-ubuntu-10-04lucid' rel='bookmark' title='Permanent Link: Install Mplayer and Multimedia codecs in Ubuntu 10.04(Lucid)'>Install Mplayer and Multimedia codecs in Ubuntu 10.04(Lucid)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Ubuntu user can easily share a temporary file/folder to others by running SimpleHTTPServer script with python.</p>
<p>Just navigate to the directory you want to share in terminal and run:</p>
<pre>python -m SimpleHTTPServer</pre>
<p>then users in the same LAN can get this directory by typing this in browser:</p>
<pre>http://http_server_IP_here:8000</pre>
<p>However,this doesn&#8217;t support uploading files and what if you want a file comes from a Windows user.<br />
Here is a script written by <em>bones7456</em> that create a simple http server for others uploading files from Windows as well as downloading on the same network.</p>
<p>Create and edit a new file <em>&#8220;SimpleHTTPServerWithUpload.py&#8221;</em> (without quotes),then copy and paste this as its content:</p>
<p>#!/usr/bin/env python</p>
<p>&#8220;&#8221;"Simple HTTP Server With Upload.</p>
<p>This module builds on BaseHTTPServer by implementing the standard GET<br />
and HEAD requests in a fairly straightforward manner.</p>
<p>&#8220;&#8221;"</p>
<p>__version__ = &#8220;0.1&#8243;<br />
__all__ = ["SimpleHTTPRequestHandler"]<br />
__author__ = &#8220;bones7456&#8243;</p>
<p>import os<br />
import posixpath<br />
import BaseHTTPServer<br />
import urllib<br />
import cgi<br />
import shutil<br />
import mimetypes<br />
import re<br />
try:<br />
from cStringIO import StringIO<br />
except ImportError:<br />
from StringIO import StringIO</p>
<p>class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):</p>
<p>&#8220;&#8221;"Simple HTTP request handler with GET/HEAD/POST commands.</p>
<p>This serves files from the current directory and any of its<br />
subdirectories.  The MIME type for files is determined by<br />
calling the .guess_type() method. And can reveive file uploaded<br />
by client.</p>
<p>The GET/HEAD/POST requests are identical except that the HEAD<br />
request omits the actual contents of the file.</p>
<p>&#8220;&#8221;"</p>
<p>server_version = &#8220;SimpleHTTPWithUpload/&#8221; + __version__</p>
<p>def do_GET(self):<br />
&#8220;&#8221;"Serve a GET request.&#8221;"&#8221;<br />
f = self.send_head()<br />
if f:<br />
self.copyfile(f, self.wfile)<br />
f.close()</p>
<p>def do_HEAD(self):<br />
&#8220;&#8221;"Serve a HEAD request.&#8221;"&#8221;<br />
f = self.send_head()<br />
if f:<br />
f.close()</p>
<p>def do_POST(self):<br />
&#8220;&#8221;"Serve a POST request.&#8221;"&#8221;<br />
r, info = self.deal_post_data()<br />
print r, info, &#8220;by: &#8220;, self.client_address<br />
f = StringIO()<br />
f.write(&#8216;&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD HTML 3.2 Final//EN&#8221;&gt;&#8217;)<br />
f.write(&#8220;&lt;html&gt;\n&lt;title&gt;Upload Result Page&lt;/title&gt;\n&#8221;)<br />
f.write(&#8220;&lt;body&gt;\n&lt;h2&gt;Upload Result Page&lt;/h2&gt;\n&#8221;)<br />
f.write(&#8220;&lt;hr&gt;\n&#8221;)<br />
if r:<br />
f.write(&#8220;&lt;strong&gt;Success:&lt;/strong&gt;&#8221;)<br />
else:<br />
f.write(&#8220;&lt;strong&gt;Failed:&lt;/strong&gt;&#8221;)<br />
f.write(info)<br />
f.write(&#8220;&lt;br&gt;&lt;a href=\&#8221;%s\&#8221;&gt;back&lt;/a&gt;&#8221; % self.headers['referer'])<br />
f.write(&#8220;&lt;hr&gt;&lt;small&gt;Powerd By: bones7456, check new version at &#8220;)<br />
f.write(&#8220;&lt;a href=\&#8221;http://li2z.cn/?s=SimpleHTTPServerWithUpload\&#8221;&gt;&#8221;)<br />
f.write(&#8220;here&lt;/a&gt;.&lt;/small&gt;&lt;/body&gt;\n&lt;/html&gt;\n&#8221;)<br />
length = f.tell()<br />
f.seek(0)<br />
self.send_response(200)<br />
self.send_header(&#8220;Content-type&#8221;, &#8220;text/html&#8221;)<br />
self.send_header(&#8220;Content-Length&#8221;, str(length))<br />
self.end_headers()<br />
if f:<br />
self.copyfile(f, self.wfile)<br />
f.close()</p>
<p>def deal_post_data(self):<br />
boundary = self.headers.plisttext.split(&#8220;=&#8221;)[1]<br />
remainbytes = int(self.headers['content-length'])<br />
line = self.rfile.readline()<br />
remainbytes -= len(line)<br />
if not boundary in line:<br />
return (False, &#8220;Content NOT begin with boundary&#8221;)<br />
line = self.rfile.readline()<br />
remainbytes -= len(line)<br />
fn = re.findall(r&#8217;Content-Disposition.*name=&#8221;file&#8221;; filename=&#8221;(.*)&#8221;&#8216;, line)<br />
if not fn:<br />
return (False, &#8220;Can&#8217;t find out file name&#8230;&#8221;)<br />
path = self.translate_path(self.path)<br />
fn = os.path.join(path, fn[0])<br />
line = self.rfile.readline()<br />
remainbytes -= len(line)<br />
line = self.rfile.readline()<br />
remainbytes -= len(line)<br />
try:<br />
out = open(fn, &#8216;wb&#8217;)<br />
except IOError:<br />
return (False, &#8220;Can&#8217;t create file to write, do you have permission to write?&#8221;)</p>
<p>preline = self.rfile.readline()<br />
remainbytes -= len(preline)<br />
while remainbytes &gt; 0:<br />
line = self.rfile.readline()<br />
remainbytes -= len(line)<br />
if boundary in line:<br />
preline = preline[0:-1]<br />
if preline.endswith(&#8216;\r&#8217;):<br />
preline = preline[0:-1]<br />
out.write(preline)<br />
out.close()<br />
return (True, &#8220;File &#8216;%s&#8217; upload success!&#8221; % fn)<br />
else:<br />
out.write(preline)<br />
preline = line<br />
return (False, &#8220;Unexpect Ends of data.&#8221;)</p>
<p>def send_head(self):<br />
&#8220;&#8221;"Common code for GET and HEAD commands.</p>
<p>This sends the response code and MIME headers.</p>
<p>Return value is either a file object (which has to be copied<br />
to the outputfile by the caller unless the command was HEAD,<br />
and must be closed by the caller under all circumstances), or<br />
None, in which case the caller has nothing further to do.</p>
<p>&#8220;&#8221;"<br />
path = self.translate_path(self.path)<br />
f = None<br />
if os.path.isdir(path):<br />
if not self.path.endswith(&#8216;/&#8217;):<br />
# redirect browser &#8211; doing basically what apache does<br />
self.send_response(301)<br />
self.send_header(&#8220;Location&#8221;, self.path + &#8220;/&#8221;)<br />
self.end_headers()<br />
return None<br />
for index in &#8220;index.html&#8221;, &#8220;index.htm&#8221;:<br />
index = os.path.join(path, index)<br />
if os.path.exists(index):<br />
path = index<br />
break<br />
else:<br />
return self.list_directory(path)<br />
ctype = self.guess_type(path)<br />
try:<br />
# Always read in binary mode. Opening files in text mode may cause<br />
# newline translations, making the actual size of the content<br />
# transmitted *less* than the content-length!<br />
f = open(path, &#8216;rb&#8217;)<br />
except IOError:<br />
self.send_error(404, &#8220;File not found&#8221;)<br />
return None<br />
self.send_response(200)<br />
self.send_header(&#8220;Content-type&#8221;, ctype)<br />
fs = os.fstat(f.fileno())<br />
self.send_header(&#8220;Content-Length&#8221;, str(fs[6]))<br />
self.send_header(&#8220;Last-Modified&#8221;, self.date_time_string(fs.st_mtime))<br />
self.end_headers()<br />
return f</p>
<p>def list_directory(self, path):<br />
&#8220;&#8221;"Helper to produce a directory listing (absent index.html).</p>
<p>Return value is either a file object, or None (indicating an<br />
error).  In either case, the headers are sent, making the<br />
interface the same as for send_head().</p>
<p>&#8220;&#8221;"<br />
try:<br />
list = os.listdir(path)<br />
except os.error:<br />
self.send_error(404, &#8220;No permission to list directory&#8221;)<br />
return None<br />
list.sort(key=lambda a: a.lower())<br />
f = StringIO()<br />
displaypath = cgi.escape(urllib.unquote(self.path))<br />
f.write(&#8216;&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD HTML 3.2 Final//EN&#8221;&gt;&#8217;)<br />
f.write(&#8220;&lt;html&gt;\n&lt;title&gt;Directory listing for %s&lt;/title&gt;\n&#8221; % displaypath)<br />
f.write(&#8220;&lt;body&gt;\n&lt;h2&gt;Directory listing for %s&lt;/h2&gt;\n&#8221; % displaypath)<br />
f.write(&#8220;&lt;hr&gt;\n&#8221;)<br />
f.write(&#8220;&lt;form ENCTYPE=\&#8221;multipart/form-data\&#8221; method=\&#8221;post\&#8221;&gt;&#8221;)<br />
f.write(&#8220;&lt;input name=\&#8221;file\&#8221; type=\&#8221;file\&#8221;/&gt;&#8221;)<br />
f.write(&#8220;&lt;input type=\&#8221;submit\&#8221; value=\&#8221;upload\&#8221;/&gt;&lt;/form&gt;\n&#8221;)<br />
f.write(&#8220;&lt;hr&gt;\n&lt;ul&gt;\n&#8221;)<br />
for name in list:<br />
fullname = os.path.join(path, name)<br />
displayname = linkname = name<br />
# Append / for directories or @ for symbolic links<br />
if os.path.isdir(fullname):<br />
displayname = name + &#8220;/&#8221;<br />
linkname = name + &#8220;/&#8221;<br />
if os.path.islink(fullname):<br />
displayname = name + &#8220;@&#8221;<br />
# Note: a link to a directory displays with @ and links with /<br />
f.write(&#8216;&lt;li&gt;&lt;a href=&#8221;%s&#8221;&gt;%s&lt;/a&gt;\n&#8217;<br />
% (urllib.quote(linkname), cgi.escape(displayname)))<br />
f.write(&#8220;&lt;/ul&gt;\n&lt;hr&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n&#8221;)<br />
length = f.tell()<br />
f.seek(0)<br />
self.send_response(200)<br />
self.send_header(&#8220;Content-type&#8221;, &#8220;text/html&#8221;)<br />
self.send_header(&#8220;Content-Length&#8221;, str(length))<br />
self.end_headers()<br />
return f</p>
<p>def translate_path(self, path):<br />
&#8220;&#8221;"Translate a /-separated PATH to the local filename syntax.</p>
<p>Components that mean special things to the local file system<br />
(e.g. drive or directory names) are ignored.  (XXX They should<br />
probably be diagnosed.)</p>
<p>&#8220;&#8221;"<br />
# abandon query parameters<br />
path = path.split(&#8216;?&#8217;,1)[0]<br />
path = path.split(&#8216;#&#8217;,1)[0]<br />
path = posixpath.normpath(urllib.unquote(path))<br />
words = path.split(&#8216;/&#8217;)<br />
words = filter(None, words)<br />
path = os.getcwd()<br />
for word in words:<br />
drive, word = os.path.splitdrive(word)<br />
head, word = os.path.split(word)<br />
if word in (os.curdir, os.pardir): continue<br />
path = os.path.join(path, word)<br />
return path</p>
<p>def copyfile(self, source, outputfile):<br />
&#8220;&#8221;"Copy all data between two file objects.</p>
<p>The SOURCE argument is a file object open for reading<br />
(or anything with a read() method) and the DESTINATION<br />
argument is a file object open for writing (or<br />
anything with a write() method).</p>
<p>The only reason for overriding this would be to change<br />
the block size or perhaps to replace newlines by CRLF<br />
&#8211; note however that this the default server uses this<br />
to copy binary data as well.</p>
<p>&#8220;&#8221;"<br />
shutil.copyfileobj(source, outputfile)</p>
<p>def guess_type(self, path):<br />
&#8220;&#8221;"Guess the type of a file.</p>
<p>Argument is a PATH (a filename).</p>
<p>Return value is a string of the form type/subtype,<br />
usable for a MIME Content-type header.</p>
<p>The default implementation looks the file&#8217;s extension<br />
up in the table self.extensions_map, using application/octet-stream<br />
as a default; however it would be permissible (if<br />
slow) to look inside the data to make a better guess.</p>
<p>&#8220;&#8221;"</p>
<p>base, ext = posixpath.splitext(path)<br />
if ext in self.extensions_map:<br />
return self.extensions_map[ext]<br />
ext = ext.lower()<br />
if ext in self.extensions_map:<br />
return self.extensions_map[ext]<br />
else:<br />
return self.extensions_map['']</p>
<p>if not mimetypes.inited:<br />
mimetypes.init() # try to read system mime.types<br />
extensions_map = mimetypes.types_map.copy()<br />
extensions_map.update({<br />
&#8221;: &#8216;application/octet-stream&#8217;, # Default<br />
&#8216;.py&#8217;: &#8216;text/plain&#8217;,<br />
&#8216;.c&#8217;: &#8216;text/plain&#8217;,<br />
&#8216;.h&#8217;: &#8216;text/plain&#8217;,<br />
})</p>
<p>def test(HandlerClass = SimpleHTTPRequestHandler,<br />
ServerClass = BaseHTTPServer.HTTPServer):<br />
BaseHTTPServer.test(HandlerClass, ServerClass)</p>
<p>if __name__ == &#8216;__main__&#8217;:<br />
test()</p>
<p>Now,navigate to the folder that you want to share and provide uploading to others,and just run this script with python (assuming the python script saved in ~/Downloads folder).</p>
<pre lang="bash">python ~/Downloads/SimpleHTTPServerWithupload.py</pre>
<p>In following picture,My home folder provides uploading as well as downloading service:</p>
<p><img class="alignnone size-medium wp-image-3063" title="HttpSever" src="http://ubuntuguide.net/wp-content/uploads/2010/05/HttpSever-443x360.png" alt="" width="443" height="360" /></p>
<p><strong>Note:</strong>For security,just use this in a temporary task.</p>


<p>Related posts:<ol><li><a href='http://ubuntuguide.net/fix-windows-when-boot-files-bootinintldrare-missing' rel='bookmark' title='Permanent Link: Fix Windows when boot files (boot.ini,NTLDR)are missing'>Fix Windows when boot files (boot.ini,NTLDR)are missing</a></li>
<li><a href='http://ubuntuguide.net/frequently-used-bash-shell-keyboard-shortcuts-in-ubuntu' rel='bookmark' title='Permanent Link: Frequently-used Bash shell Keyboard shortcuts in Ubuntu'>Frequently-used Bash shell Keyboard shortcuts in Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/install-mplayer-and-multimedia-codecs-in-ubuntu-10-04lucid' rel='bookmark' title='Permanent Link: Install Mplayer and Multimedia codecs in Ubuntu 10.04(Lucid)'>Install Mplayer and Multimedia codecs in Ubuntu 10.04(Lucid)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ubuntuguide.net/http-server-support-uploading-files-from-windows-in-ubuntu/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install Chromium (Google Chrome) browser in Ubuntu 10.04</title>
		<link>http://ubuntuguide.net/how-to-install-chromium-google-chrome-browser-in-ubuntu-10-04</link>
		<comments>http://ubuntuguide.net/how-to-install-chromium-google-chrome-browser-in-ubuntu-10-04#comments</comments>
		<pubDate>Tue, 11 May 2010 11:37:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://ubuntuguide.net/?p=3042</guid>
		<description><![CDATA[This turorial shows how to install Chromium browser quickly with three commands in Ubuntu 10.04 (Lucid) by adding the PPA.
Open terminal from Applications->Accessories menu,execute following commands:
sudo add-apt-repository ppa:chromium-daily/ppa
sudo apt-get update
sudo apt-get install chromium-browser
this also works in Ubuntu 9.10 and Ubuntu 10.10 (Maverick).Launch Google Chrome from Applications->Internet menu.
In addition,if you&#8217;re using Ubuntu 9.04 or earlier,you can [...]


Related posts:<ol><li><a href='http://ubuntuguide.net/install-google-chrome-web-browser-in-ubuntu' rel='bookmark' title='Permanent Link: Install Google chrome web browser in Ubuntu'>Install Google chrome web browser in Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/google-chrome-for-linux-goes-stable' rel='bookmark' title='Permanent Link: Google Chrome for Linux goes stable'>Google Chrome for Linux goes stable</a></li>
<li><a href='http://ubuntuguide.net/install-flash-plugin-for-chromium-browser' rel='bookmark' title='Permanent Link: Install Flash plugin for Chromium browser'>Install Flash plugin for Chromium browser</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This turorial shows how to install Chromium browser quickly with three commands in Ubuntu 10.04 (Lucid) by adding the PPA.</p>
<p>Open terminal from <em>Applications->Accessories</em> menu,execute following commands:</p>
<pre lang="bash">sudo add-apt-repository ppa:chromium-daily/ppa
sudo apt-get update
sudo apt-get install chromium-browser</pre>
<p>this also works in Ubuntu 9.10 and Ubuntu 10.10 (Maverick).Launch Google Chrome from <em>Applications->Internet</em> menu.</p>
<p>In addition,if you&#8217;re using Ubuntu 9.04 or earlier,you can install Google Chrome by:<br />
<em>edit /etc/apt/sources.list:</em></p>
<pre lang="bash">gksudo gedit /etc/apt/sources.list</pre>
<p><em>add the following lines and save the file:</em></p>
<pre lang="bash">deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main </pre>
<p><em>replace &#8220;YOUR_UBUNTU_VERSION_HERE&#8221; with jaunty or hardy</em></p>
<p><em>add gpg key:</em></p>
<pre lang="bash">sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 4E5E17B5</pre>
<p><em>update system and install Google Chrome:</em></p>
<pre lang="bash">sudo apt-get update
sudo apt-get install chromium-browser</pre>
<p>PPA for Ubuntu Chromium:<a href="https://launchpad.net/~chromium-daily/+archive/ppa" target="_blank">https://launchpad.net/~chromium-daily/+archive/ppa<br />
</a></p>


<p>Related posts:<ol><li><a href='http://ubuntuguide.net/install-google-chrome-web-browser-in-ubuntu' rel='bookmark' title='Permanent Link: Install Google chrome web browser in Ubuntu'>Install Google chrome web browser in Ubuntu</a></li>
<li><a href='http://ubuntuguide.net/google-chrome-for-linux-goes-stable' rel='bookmark' title='Permanent Link: Google Chrome for Linux goes stable'>Google Chrome for Linux goes stable</a></li>
<li><a href='http://ubuntuguide.net/install-flash-plugin-for-chromium-browser' rel='bookmark' title='Permanent Link: Install Flash plugin for Chromium browser'>Install Flash plugin for Chromium browser</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ubuntuguide.net/how-to-install-chromium-google-chrome-browser-in-ubuntu-10-04/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>