<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4869741794393312670</id><updated>2011-07-08T02:06:40.117-07:00</updated><title type='text'>My Space</title><subtitle type='html'>Being grammatically correct !!!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-2428196779297079745</id><published>2010-05-06T00:01:00.000-07:00</published><updated>2010-05-06T01:06:41.000-07:00</updated><title type='text'>You disappointed us, Tharoor.</title><content type='html'>When you became an honorable MP, many of us rejoiced, not because we thought that you will modernize the way democracy is implemented in this country. But we thought you will do better with your background. We thought a person like you with an elite background will try to strike a chord with the poorest of poor people in this country for whom democracy is still a sham. And, all you did is "mentoring" a bunch of filthy rich people to procure an IPL team. Do you really got any experience in running a sport body? If not, what kind of mentoring is this? Having personal calls with the politicians is not really mentoring. Have you ever thought why politicians like you need to "mentor?" Answer is simple. We are following a system that is not all transparent. If you are cricket-lover, you should had been a whistle-blower for that.&lt;br /&gt;&lt;br /&gt;People say when you have a bad time, your mind goes wrong. That's what exactly happened when you stated that your intention was to make Keralites proud. You made us disappointed. Good that you stepped down. We are ready to wait for the "Tharoor" we dreamed of. And, we are sure many of them will emerge to take the center stage of Indian politics (in future that’s not so near).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-2428196779297079745?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/2428196779297079745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2010/05/you-disappointed-us-tharoor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/2428196779297079745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/2428196779297079745'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2010/05/you-disappointed-us-tharoor.html' title='You disappointed us, Tharoor.'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-5896490235664181545</id><published>2009-09-21T04:07:00.000-07:00</published><updated>2009-10-04T21:55:40.545-07:00</updated><title type='text'>Getting the aperture right</title><content type='html'>Getting the aperture right is very important to capture the right picture. The aperture controls the depth-of-field of a photograph. To put it down simple, see the following picture:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_PfIXLVFKBMc/SrdgzYHKBEI/AAAAAAAAAAk/z_VODoJiFkY/s1600-h/spider1.GIF"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 287px; height: 320px;" src="http://1.bp.blogspot.com/_PfIXLVFKBMc/SrdgzYHKBEI/AAAAAAAAAAk/z_VODoJiFkY/s320/spider1.GIF" border="0" alt=""id="BLOGGER_PHOTO_ID_5383878315306779714" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can see the spider and, to certain extent, the web. Nothing beyond the spider is visible. This photograph has a shallow depth of field. Got it? The aperture that I used for this is F5.6. It's called a high aperture. (I will explain why it is called so later.)&lt;br /&gt;&lt;br /&gt;Now look at this one:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_PfIXLVFKBMc/SrdhekJMLpI/AAAAAAAAAAs/xvuxP40D610/s1600-h/hut1.GIF"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 194px;" src="http://4.bp.blogspot.com/_PfIXLVFKBMc/SrdhekJMLpI/AAAAAAAAAAs/xvuxP40D610/s320/hut1.GIF" border="0" alt=""id="BLOGGER_PHOTO_ID_5383879057270910610" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can see a hut. Behind that there are trees, and beyond, you will see the clouds that are far away. This is called high depth-of-field. This picture has low aperture. The aperture that I used was F18. &lt;br /&gt;&lt;br /&gt;Now, let me explain you what an aperture technically is. Aperture is an opening through which light falls into the digital sensors when you "click" a photo. If you use a bigger opening, more light falls into the sensors. Technically, the number in which aperture size is defined is the focal length of the lens divided by the diameter of the opening. Assume that you are using a 50 mm lens. If your aperture is F5.6, it means the diameter of aperture is 50mm divided by 5.6. That is 8.9 mm.&lt;br /&gt;If the aperture is F18, the diameter of aperture becomes 2.8 mm (50/18). Means higher the number, lesser the light falls into the digital sensors.&lt;br /&gt;&lt;br /&gt;Yes, it's a bit confusing. But you don't need to know this when you capture a photo. Every lens will be associated with a high and low aperture. The photographs you have seen are taken using a Canon 50 mm lens. The aperture can vary from a minimum of F5.6to maximum of F21. You need to know when a high or a low aperture is used.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-5896490235664181545?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/5896490235664181545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/09/getting-aperture-right.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/5896490235664181545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/5896490235664181545'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/09/getting-aperture-right.html' title='Getting the aperture right'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_PfIXLVFKBMc/SrdgzYHKBEI/AAAAAAAAAAk/z_VODoJiFkY/s72-c/spider1.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-4064596936306862824</id><published>2009-09-09T03:52:00.000-07:00</published><updated>2009-09-09T03:55:06.393-07:00</updated><title type='text'>The Children of Heaven</title><content type='html'>Last week, I watched an Iranian movie - The Children of Heaven. I loved it. I like movies and books with children as the main characters. In children's world, there is  a logic for everything. I think as we grow, we tend to lose this logic.&lt;br /&gt;&lt;br /&gt;The movie is about two kids. Ali, the eight-year-old protagonist, lost the shoes of his sister while bringing them back from a shoe repairing shop. Kids know that their father does not have enough money to buy another shoe and they start managing going school with a single pair of Ali's shoes. (They both attend school at different timings). Movie is all about of Ali's struggle in getting a pair of shoe for his sister.&lt;br /&gt;&lt;br /&gt;I love Iranian films that use children as main characters to tell a good story. And, they are very successful in communicating what they want to tell.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-4064596936306862824?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/4064596936306862824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/09/children-of-heaven.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/4064596936306862824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/4064596936306862824'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/09/children-of-heaven.html' title='The Children of Heaven'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-5122534360970054881</id><published>2009-08-07T02:19:00.000-07:00</published><updated>2009-08-07T02:21:05.272-07:00</updated><title type='text'>All about photography</title><content type='html'>Thanks a lot, Ree.&lt;br /&gt;Guys (&amp; galls), see the &lt;a href="http://www.thepioneerwoman.com/photography/"&gt;pioneer woman&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-5122534360970054881?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/5122534360970054881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/08/all-about-photography.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/5122534360970054881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/5122534360970054881'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/08/all-about-photography.html' title='All about photography'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-1429144708751461058</id><published>2009-07-30T03:02:00.000-07:00</published><updated>2009-07-30T03:04:19.535-07:00</updated><title type='text'>Me and financial markets</title><content type='html'>In 2000, when I was trying to open a savings bank account with one of the nationalized banks, I was told to submit many details, that made me to think that the intention is to make me not opening the account. When I got my first job, I could easily open an account with a multi-national bank. I have been an ardent fan of liberalization from then onwards. But, nine years afterwards, the melt down of global financial leaders made me to have a re-think. Do governments need to regulate the way financial markets function? Are the financial markets capable enough to manage themselves? Are all of us exploited by the market because of our lack of knowledge?&lt;br /&gt;&lt;br /&gt;I found an article about Joseph Stiglitz, an American Economist and Nobel Laureate, interesting. Read more about him &lt;a href="http://www.josephstiglitz.com"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-1429144708751461058?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/1429144708751461058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/07/me-and-financial-markets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/1429144708751461058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/1429144708751461058'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/07/me-and-financial-markets.html' title='Me and financial markets'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-7926656605035173226</id><published>2009-07-22T02:51:00.000-07:00</published><updated>2009-07-30T03:05:34.261-07:00</updated><title type='text'>Control your expenses; it’s recession</title><content type='html'>&lt;a href="http://www.thesimpledollar.com"&gt;thesimpledollar&lt;/a&gt;: I recently visited this blog. You also get a guide on personal finance management for free. (It’s titled as Everything You Ever Really Needed to Know About Personal Finance&lt;br /&gt;On Just One Page.) Though all the points explained by Trent Hamm are not applicable to Indian readers, it’s a good read.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-7926656605035173226?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/7926656605035173226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/07/control-your-expenses-its-recession.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/7926656605035173226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/7926656605035173226'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/07/control-your-expenses-its-recession.html' title='Control your expenses; it’s recession'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-7962290597829731480</id><published>2009-07-19T22:15:00.000-07:00</published><updated>2009-07-22T03:00:27.928-07:00</updated><title type='text'>Get your fundamentals right from the open source technologies</title><content type='html'>The takeover of Sun Microsystems by Oracle arises a question: Is it the end of open source initiatives? It's is very clear that Sun's open source initiatives failed to generate enthusiasm in investors. However, the story could have been different, if its operating system, Solaris, could catch a major share of Windows market. I am not going to evaluate the future of open source market here. I just want to emphasis the opportunities that open source technologies provide to students. As long as one gets the software for free, the way it generates money is irrelevant (if one's intention is to study a technology). And, if you are comfortable with the technologies such as Java, MySQL, and so on, I will say that, as a programmer, your fundamentals are right. You will not take too long to be comfortable with related-technologies, such as .Net or Oracle.&lt;br /&gt;&lt;br /&gt;Let us take SQL as an example. Are you comfortable with the database concept? I am sure you will get plenty of information from Internet on the concepts and query you use in database. And, Sun provides you a wonderful database, MySQL, at free of cost. Let us see how you can use it for studying the way a database works.&lt;br /&gt;&lt;br /&gt;I hope you know about NetBeans, a freely available IDE (Integrated Development Environment) from Sun. The latest version of NetBeans is bundled with MySQL. If you have an old version of NetBeans, you could download MySQL and a driver (a .jar file) that will allow you to connect to MySQL from NetBeans. Try using Google; you will get plenty of information. I have not explained those tasks here. I found the following articles helpful: for &lt;a href="http://www.netbeans.org/kb/60/ide/mysql.html"&gt;NetBeans 6.0&lt;/a&gt; and for &lt;a href="http://www.netbeans.org/kb/55/mysql.html"&gt;NetBeans 5.5&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;After you install NetBeans and MySQL, do the following:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt; Open NetBeans.&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; Click the &lt;strong&gt;Runtime&lt;/strong&gt; tab.&lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt; Click &lt;strong&gt;Database&lt;/strong&gt;.&lt;br /&gt;&lt;strong&gt;4.&lt;/strong&gt; Right-click the mysql schema and click &lt;strong&gt;Connect&lt;/strong&gt;.&lt;br /&gt;   If you had provided a password while installing MySQL, you need to provide the password. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5.&lt;/span&gt; After getting a successful connection, right-click the schema and click &lt;strong&gt;Execute a Command&lt;/strong&gt;.&lt;br /&gt;   In the right pane, a page opens where you can execute a command (query).&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;6.&lt;/span&gt; Let us create a database, emp, first. &lt;br /&gt;   Execute the following command:&lt;br /&gt;&lt;br /&gt;   &lt;em&gt;create table emp (name char(50), salary char(8));&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;  (Type the command and select it, then click &lt;strong&gt;Run SQL&lt;/strong&gt; - the first button from the left.)&lt;br /&gt;  A message is displayed that the command is executed successfully. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;7.&lt;/span&gt; Now let us insert a data into the table. Execute the following command.&lt;br /&gt; &lt;br /&gt;  &lt;em&gt;insert into emp (name,salary) values ('sunil','1000');&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;8.&lt;/span&gt; Let us view what we created by executing the following command:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;select * FROM emp;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_PfIXLVFKBMc/SmP-8lULq5I/AAAAAAAAAAc/bzEfpWLzhjo/s1600-h/neteans_sql.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 206px;" src="http://3.bp.blogspot.com/_PfIXLVFKBMc/SmP-8lULq5I/AAAAAAAAAAc/bzEfpWLzhjo/s320/neteans_sql.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5360408298263391122" /&gt;&lt;/a&gt;&lt;br /&gt;You can view the table that you created. This &lt;a href="http://www.1keydata.com/sql/sqlselect.html"&gt;link &lt;/a&gt;provides a lot of information about SQL commands.&lt;br /&gt;&lt;br /&gt;I found this methodology really helpful when someone learns a new  technology. There are many open source products. You may hear a lot about the bugs in the products, their incapability to perform a specific task, and so on. But they really can help you to learn.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-7962290597829731480?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/7962290597829731480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/07/get-your-fundamentals-right-from-open.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/7962290597829731480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/7962290597829731480'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/07/get-your-fundamentals-right-from-open.html' title='Get your fundamentals right from the open source technologies'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_PfIXLVFKBMc/SmP-8lULq5I/AAAAAAAAAAc/bzEfpWLzhjo/s72-c/neteans_sql.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-2734966695870684944</id><published>2009-04-29T23:03:00.000-07:00</published><updated>2009-04-29T23:04:10.726-07:00</updated><title type='text'>Connecting to a non-default port using sftp.jar</title><content type='html'>I need to write a program in Java to connect to a non-default port, 22, using ftp. I used the &lt;span style="font-style:italic;"&gt;sftp.jar&lt;/span&gt; that I downloaded from Internet. By default, when I used the following code, my program connected to port 21, instead of 22.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Ftp ftp = new Ftp("domain-name","user-name","password");&lt;br /&gt;ftp.connect();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I found a method in sctp api, &lt;span style="font-style:italic;"&gt;setPort(int port)&lt;/span&gt;, to set it to a non-default port.&lt;br /&gt;&lt;br /&gt;Now the code looks like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Ftp ftp = new Ftp("domain-name","user-name","password");&lt;br /&gt;ftp.setPort(22);&lt;br /&gt;ftp.connect();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And, this works. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-2734966695870684944?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/2734966695870684944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/connecting-to-non-default-port-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/2734966695870684944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/2734966695870684944'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/connecting-to-non-default-port-using.html' title='Connecting to a non-default port using sftp.jar'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-8913150043214514422</id><published>2009-04-28T22:09:00.001-07:00</published><updated>2009-04-28T22:12:37.354-07:00</updated><title type='text'>Why don’t they crush the empty plastic bottles?</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_PfIXLVFKBMc/SffhimY3yXI/AAAAAAAAAAU/WaR3M-f-JKg/s1600-h/blog-monk.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_PfIXLVFKBMc/SffhimY3yXI/AAAAAAAAAAU/WaR3M-f-JKg/s320/blog-monk.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5329976668552939890" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A good reading: &lt;a href="http://www.seattlepi.com/local/326907_plastic09.html"&gt;Are plastic bottles dangerous?&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-8913150043214514422?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/8913150043214514422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/why-dont-they-crush-empty-plastic.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/8913150043214514422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/8913150043214514422'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/why-dont-they-crush-empty-plastic.html' title='Why don’t they crush the empty plastic bottles?'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_PfIXLVFKBMc/SffhimY3yXI/AAAAAAAAAAU/WaR3M-f-JKg/s72-c/blog-monk.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-148413400006139462</id><published>2009-04-27T22:39:00.000-07:00</published><updated>2009-04-27T22:43:56.997-07:00</updated><title type='text'>Constructors in Java - Part 2</title><content type='html'>What's the output of the following program?&lt;br /&gt;&lt;br /&gt;class Constructor2&lt;br /&gt;{&lt;br /&gt;Constructor2()&lt;br /&gt;{&lt;br /&gt;System.out.println ("C");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;class Constructor1 extends Constructor2&lt;br /&gt;{&lt;br /&gt;Constructor1()&lt;br /&gt;{&lt;br /&gt;System.out.println ("B");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public class Constructor extends Constructor1&lt;br /&gt;{&lt;br /&gt;Constructor()&lt;br /&gt;{&lt;br /&gt;System.out.println ("A");&lt;br /&gt;}&lt;br /&gt;public static void main (String args[])&lt;br /&gt;{&lt;br /&gt;Constructor obj1 = new Constructor();&lt;br /&gt;// Creating an object.&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Program will compile, and if it ran, the following will be printed in each line: C B A. When you create an object for the class Constructor, it invokes the default constructor - that's the no-argument constructor. The default constructor, in turn, invokes the default constructor of its parent class, Constructor 1. And, this constructor invokes the default constructor of its parent class, Constructor2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-148413400006139462?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/148413400006139462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/constructors-in-java-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/148413400006139462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/148413400006139462'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/constructors-in-java-part-2.html' title='Constructors in Java - Part 2'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-8243353299465371033</id><published>2009-04-26T23:41:00.000-07:00</published><updated>2009-04-27T23:30:42.660-07:00</updated><title type='text'>Constructors in Java - Part 1</title><content type='html'>What will be the output of the following program?&lt;br /&gt;&lt;br /&gt;public class Constructor&lt;br /&gt;{&lt;br /&gt;Constructor(String name)&lt;br /&gt;// String argument constructor.&lt;br /&gt;{&lt;br /&gt;System.out.println ("Hello Java!!");&lt;br /&gt;}&lt;br /&gt;public static void main (String args[])&lt;br /&gt;{&lt;br /&gt;Constructor obj1 = new Constructor();&lt;br /&gt;// Creating an object.&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Program will not compile, because the class does not have a no-argument constructor. When you create an object for the class, it searches for the no-argument constructor - the default constructor.&lt;br /&gt;However, if you change the code to create the object to&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Constructor obj1 = new Constructor("Hello")&lt;/span&gt;, the program will compile. Because, you explicitly mention which constructor to be picked up.&lt;br /&gt;Assume that you don't have a string argument constructor. Then, the code will compile, since Java, by default, create a no-argument constructor.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-8243353299465371033?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/8243353299465371033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/constructors-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/8243353299465371033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/8243353299465371033'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/constructors-in-java.html' title='Constructors in Java - Part 1'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-9105727205208668535</id><published>2009-04-20T21:36:00.000-07:00</published><updated>2009-04-20T21:41:24.086-07:00</updated><title type='text'>Mom, are we done?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_PfIXLVFKBMc/Se1Nx7E4ZcI/AAAAAAAAAAM/mpRQthmAFFg/s1600-h/blog-road1.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_PfIXLVFKBMc/Se1Nx7E4ZcI/AAAAAAAAAAM/mpRQthmAFFg/s320/blog-road1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5326999454316258754" /&gt;&lt;/a&gt;&lt;br /&gt;"It's too warm in the morning."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A traffic jam at Sony World Junction in Bangalore.&lt;br /&gt;A woman carrying a baby and asking for as a charity.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-9105727205208668535?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/9105727205208668535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/mom-are-we-done.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/9105727205208668535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/9105727205208668535'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/mom-are-we-done.html' title='Mom, are we done?'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_PfIXLVFKBMc/Se1Nx7E4ZcI/AAAAAAAAAAM/mpRQthmAFFg/s72-c/blog-road1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-7661350012465282575</id><published>2009-04-20T01:46:00.000-07:00</published><updated>2009-04-20T01:47:41.880-07:00</updated><title type='text'>Quick Batch File Compiler</title><content type='html'>Quick Batch File Compiler allows you to compile a bat file &lt;br /&gt;and create an exe. You can also add your files to the exe and&lt;br /&gt;add an icon for the exe. &lt;a href="http://www.abyssmedia.com/quickbfc/"&gt;Visit  &lt;/a&gt; for more details.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-7661350012465282575?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/7661350012465282575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/quick-batch-file-compiler.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/7661350012465282575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/7661350012465282575'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/quick-batch-file-compiler.html' title='Quick Batch File Compiler'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-7420988389866989309</id><published>2009-04-16T03:09:00.000-07:00</published><updated>2009-04-16T03:14:19.871-07:00</updated><title type='text'>Masking a command line parameter using Java</title><content type='html'>I didn't know that Java does not allow to mask a parameter that you pass through the command line. For example, user enters a password through the command line.&lt;br /&gt;I, however, found a way to accomplish it. Thanks to Google!! In the ariticle, &lt;a href="http://www.java.sun.com/developer/technicalArticles/Security/pwordmask"&gt;Password Masking in the Java Programming Language&lt;/a&gt;, Qusay H. Mahmoud explained how &lt;br /&gt;to accomplish the same using Java. I found this article extremely helpful. There is a small mistake in the article. In the &lt;em&gt;PasswordField.java&lt;/em&gt; file, the developer needs to&lt;br /&gt;import &lt;em&gt;java.io&lt;/em&gt; package. Thanks a lot, Qusay !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-7420988389866989309?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/7420988389866989309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/masking-command-line-parameter-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/7420988389866989309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/7420988389866989309'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/masking-command-line-parameter-using.html' title='Masking a command line parameter using Java'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-62674693986496134</id><published>2009-04-15T21:29:00.000-07:00</published><updated>2009-04-15T21:45:18.932-07:00</updated><title type='text'>Taking a black &amp; white photograph</title><content type='html'>Have you ever taken a black &amp; white photograph with a digital camera? Some photographs come out really well in black and white. Most of the digital cameras have this option. (If you do not know how to set this option, right time to go through the user guide of your camera !!!)&lt;br /&gt;&lt;br /&gt;This is what you do to take a picture in black &amp; white using a Canon PowerShot SD1000.&lt;br /&gt;&lt;br /&gt;1. Press FUNC. SET.&lt;br /&gt;2. In the first option, select Manual - the second one from the left.&lt;br /&gt;3. Press FUNC. SET.&lt;br /&gt;4. Press FUNC. SET again to display the options.&lt;br /&gt;5. In the fourth option from the top (OFF), select the 5th option from the left (BW).(This option is enabled only if you select Manual in step 2.)&lt;br /&gt;6. Press FUNC. SET.&lt;br /&gt;7. Shoot it. :)&lt;br /&gt;&lt;br /&gt;Follow these steps in a Lumix DMC - FZ 18.&lt;br /&gt;&lt;br /&gt;1. Press Menu.&lt;br /&gt;2. In the REC menu, select the fourth option from the top (Color Effect).&lt;br /&gt;3. Set it to [B/W].&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-62674693986496134?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/62674693986496134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/taking-black-white-photograph.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/62674693986496134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/62674693986496134'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/taking-black-white-photograph.html' title='Taking a black &amp;amp; white photograph'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-4068027629095309858</id><published>2009-04-14T21:29:00.000-07:00</published><updated>2009-04-14T21:33:02.321-07:00</updated><title type='text'>WinSCP</title><content type='html'>WinSCP is an open source SFTP and FTP client for&lt;br /&gt;Windows. I used WinSCP to connect to a Linux machine.&lt;br /&gt;It provides a graphical user interface that is very &lt;br /&gt;easy to use. You will get more information at &lt;em&gt;www.winscp.net&lt;/em&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-4068027629095309858?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/4068027629095309858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/winscp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/4068027629095309858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/4068027629095309858'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/winscp.html' title='WinSCP'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-3082257300474995488</id><published>2009-04-09T01:46:00.000-07:00</published><updated>2009-04-09T02:52:00.445-07:00</updated><title type='text'>The equals() method in Java</title><content type='html'>In Java, use the &lt;em&gt;equals()&lt;/em&gt; method if you need to compare two strings.&lt;br /&gt;The &lt;em&gt;equals()&lt;/em&gt; method compares only the data stored in the strings. Unlike the &lt;em&gt;==&lt;/em&gt; &lt;br /&gt;method, it does not verify whether both the strings are referred by the same object.&lt;br /&gt;&lt;br /&gt;For example, see the following program:&lt;br /&gt;==&lt;br /&gt;&lt;br /&gt;@author sunil_bhaskaran&lt;br /&gt;public class Equal &lt;br /&gt;{&lt;br /&gt;   public static void main (String args[])&lt;br /&gt;   {&lt;br /&gt;   String x = new String ("Hello");&lt;br /&gt;   String y = new String ("Hello");&lt;br /&gt;   if ( x == y)&lt;br /&gt;   {&lt;br /&gt;   System.out.println("Both the strings are equal");&lt;br /&gt;   }&lt;br /&gt;   else&lt;br /&gt;   {&lt;br /&gt;   System.out.println("Both the strings are not equal");&lt;br /&gt;   }&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;==&lt;br /&gt;Output of the program is: Both the strings are not equal.&lt;br /&gt;If you change the statement to &lt;em&gt;if ( x.equals(y))&lt;/em&gt;, the output would be: Both the strings are equal.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-3082257300474995488?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/3082257300474995488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/equals-method-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/3082257300474995488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/3082257300474995488'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/equals-method-in-java.html' title='The &lt;em&gt;equals() &lt;/em&gt;method in Java'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-110083198093666688</id><published>2009-04-08T21:39:00.000-07:00</published><updated>2009-04-08T21:43:03.561-07:00</updated><title type='text'>Connecting to a non-standard port of an ftp server using the CLI (Command Line Interface)</title><content type='html'>I was trying to connect to a non-default port of an ftp server.&lt;br /&gt;I was under the impression that the command to accomplish the same is:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;open ip-address:port&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It never worked. I was sure the issue is very simple, because I was able to connect to the IP address and the non-standard port using Windows client WS_FTP. &lt;br /&gt;&lt;br /&gt;I got it after a long search in Internet. The command is:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;open ip-address port&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's not a colon, but a space between the IP address and the port.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-110083198093666688?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/110083198093666688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/connecting-to-non-standard-port-of-ftp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/110083198093666688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/110083198093666688'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/connecting-to-non-standard-port-of-ftp.html' title='Connecting to a non-standard port of an ftp server using the CLI (Command Line Interface)'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4869741794393312670.post-217304278267190921</id><published>2009-04-08T03:52:00.000-07:00</published><updated>2009-04-09T03:26:25.066-07:00</updated><title type='text'>Installing ftp server on a Linux machine</title><content type='html'>I had to install an ftp server on a Linux machine. I tried some rpms downloaded from the Internet. But, many of them failed to install, because of dependent rpms were not present. At last, I could successfully install the ftp server with the following rpm: &lt;em&gt;vsftpd-1.2.1-5.i386.rpm&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;This is what I did:&lt;br /&gt;&lt;br /&gt;Installed ftp server.&lt;br /&gt;&lt;em&gt;rpm –Uvh vsftpd-1.2.1-5.i386.rpm&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;Then, restarted the ftp server.&lt;br /&gt;&lt;em&gt;service vsftpd stop&lt;/em&gt;&lt;br /&gt;&lt;em&gt;service vsftpd start&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Verified whether the ftp server is listening.&lt;br /&gt;&lt;em&gt;netstat -a | grep ftp&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;The output showed that the ftp server is running.&lt;br /&gt;&lt;em&gt;tcp 0 0 *:ftp *:* LISTEN&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;One issue that I had to solve after installing ftp server was I could not ftp to the machine as the root user.&lt;br /&gt;I solved the issue by commenting out &lt;span style="font-style: italic;"&gt;root&lt;/span&gt; from the following files: &lt;em&gt;/etc/vsftpd.ftpusers&lt;/em&gt; and &lt;em&gt;/etc/vsftpd.user_list&lt;/em&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4869741794393312670-217304278267190921?l=sunil-bhaskaran.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunil-bhaskaran.blogspot.com/feeds/217304278267190921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/installing-ftp-server-on-linux-machine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/217304278267190921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4869741794393312670/posts/default/217304278267190921'/><link rel='alternate' type='text/html' href='http://sunil-bhaskaran.blogspot.com/2009/04/installing-ftp-server-on-linux-machine.html' title='Installing ftp server on a Linux machine'/><author><name>Sunil</name><uri>http://www.blogger.com/profile/17675126582756339811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
