October 26, 2009

FTP (and it’s cousin, SFTP)

What is it?
From the techical side of things FTP stands for File Transfer Protocol. It’s just a fancy way of saying it’s a standard for transferring files between your computer and another computer, be it a web server, or just your friends pc. FTP isn’t something you generally need to worry about until you own a website, and then you’ll eventually realize that the file uploader that comes with your cPanel account by default just isn’t cutting it. When technical people refer to FTP they’re really saying FTP Program, which is a utility that you can install that can take advantage of the File Transfer Protocol and transfer some files from your PC to another one.

Do you have it?
ftpaccChances are, if you are the administrator of a server (even if it’s someplace you host your website online) you have access to FTP. Most hosting companies try to make it as easy as possible for people to set up their FTP accounts, and generally pouring through the help documents will ..well help. But if you log into your control panel (most likely cPanel) you can look for an icon that looks like this, or just says “FTP” on it
Setting it up
Essentially the page you are trying to get to will let you create and administer FTP accounts. The image below is what cPanel users will see. It’s a pretty straight forward form, and you just need to fill it out. The login is just the name that you will use to log in to your account. For my system, it’s set up to be login@feethavebeen.com, where “login” is a username that I created. The password is what you will need to enter to log in to your FTP account. Make sure it is something complicated, and if you’re not sure, just hit the Generate button and add a few characters onto the end. For some hosts, they automatically fill out the “Directory” setting. You should just delete this or set it to “public_html/”. That will ensure that the user you are logging in with can access all the files on your server. When you’re done just click the “Create FTP Account” button and wait for everything to be done. You’ll generally get to a confirmation page that will show you the username and password that you selected. Make sure you either write them down somewhere or remember them.

ftpaccsetup

Accessing your account
Now that your account is created, the next step is accessing your server using that account information. To do this you have a couple of options. IE users can log in through their browser by going to ftp://www.yoursite.com and then logging in using their username/password combination. That’s fine for downloading files, but when you want to start uploading them, I’d recommend and actual FTP client such as one of the following:

http://www.smartftp.com/
http://winscp.net/eng/index.php
http://fireftp.mozdev.org/ -   Firefox Addon Only
http://filezilla-project.org/ – Supports both SFTP, FTPS and FTP

You can download and install the FTP client and start it up. Generally when the clients start up they ask you for your account information to log in. You can set the host as your website, the username as the username you gave in the form, and the password that’s associated to it. Make sure that the PORT is set at 21. FTP utilizes port 21 to perform it’s functions. By default winSCP is set to PORT 22 (more on this in a second). Once that’s done, you can sign in to your ftp account.

Using FTP
Using FTP through one of the clients is very simple. You are normally presented with a split view. The files on your computer are on the left, and the files on your web server are on the right. To move files, you just drag them from your computer to the web server, or from the server to your computer. The files are then transferred over. There are many advanced functions that each FTP program offers, but that is something that is beyond the scope of this article.

SFTP?
By default, FTP transmissions are not encrypted. This means that your files and more importantly your passwords (thanks for pointing out that I missed this part Felipe) are passing in plain-text between you and your webserver. Most times this isn’t an issue, but if you are transferring sensitive data, or are just paranoid like me, you’ll want to use Secure FTP. Secure FTP encrypts all data that it transfers and therefore, is a little slower than standard FTP, but it is worth it (at least tome). Out of the FTP clients I mentioned, only winSCP can handle the SFTP. When using SFTP, you have to make sure that your PORT is at 22 instead of 21.

October 23, 2009

Feature Friday – Lifehacker.com – Complete Guide to Windows 7

Lifehacker is a website that I have been following for a number of years. They have a great knowledgeable reader base as well as very talented and informative writers. They cover tips, tricks and applications for every OS and for your every day life. Definitely one of my favourite places to be. With the launch of Widows 7 yesterday (one that introduces the best OS from Microsoft to date) this post was one that needs to be covered. Lifehacker presents a Complete Guide to Windows 7

win7

Windows 7 officially launches today, but we’ve been testing, tweaking, customizing, fixing, and writing about this OS for a year now. We present here a guide to everything we’ve learned about the OS, from first install to final settings change.

Whether you’ve played around with Windows 7 during its beta or release candidate versions, launch day is finally here, and Windows 7 is finally ready for widespread, public consumption. This guide will take you straight through from system requirements and upgrading your PC to highlighting Windows 7′s best new features to helping you hit the ground running with all of the awesome tweaks Windows 7 has in store for you.

October 20, 2009

Must Have Apps

I just did a fresh install of Windows 7, legitimately gotten through MSDNAA, and so I decided to write up a list of applications that I don’t think a windows user should be without.

Browser

Google Chrome

To me, you have two real choices here. Either Firefox or Chrome. Chrome doesn’t support extensions that I require so Firefox is it for me. Chrome offers allthe features that Firefoxdoes except for extensions, but if you just need something to browse the next, Chrome is it. You’ll find it faster than Firefox too when it comes to rendering pages, and when you have 20+ tabs open, it will feel a lot snappier. Firefox, on the other Mozilla Firefoxhand, offers an extensive extension library as well as tabbed browsing, password management (albeit very basic), anti-pshishing controls, standards compliant web-browsing and a pop-up blocker (Chrome offers these as well).The extensions add everything from Chat to advanced download managers to twitter clients. Once you get used to that, I’d recommend checking out this video I made a long time ago: http://www.youtube.com/watch?v=RXGpBYjnFkE It covers converting your default browser to take advantage of as much screenspace possible, and also covers a more advanced tip about search shortcuts.

Winner – Firefox
Runner Up – Chrome

Chat Service
wlm
digsby-logoThere are numerous chat services out there, but for me only two matter. Windows Live Messener (or MSN Messenger as it used to be called) and Google Talk. In fact, it’s safe to say that my chat services are dominated by WLM to the point that I can get by without installing Google Talk as a separate client and I just use the web version. This will sorta be dictated by geographic region, I find countries like India and Indonesia use Yahoo! Messenger more than WLM, which seems to dominate the West. You can also go with Skype, Digsby (if you’re into multiple chat clients), Trillian and a host of others. However, these are kinda dictated by your friends. If everyone uses WLM, you’re probably going to use it too.

Winner – Windows Live Messenger
Runner Up – Digsby

Anti-Virus
eset_nod32_antivirus_logoavast-logo-w-tag-medThis is the biggest thing that Windows users need.  I can’t point my finger at Windows forbeing riddled with security holes in comparison to other systems. It’s just that so many more people use Windows, and so many people are looking for ways to break it. But that doesn’t mean you can’t take a few steps to secure your system against threats. A good anti-virus program won’t cost you much (heck, it’s probably free) but will save you tons of time and headaches later on. A good anti-virus should provide constant scanning and frequent updates to its virus database. As well, it should be as light on resources as possible. Price is also a factor. For that reason I have chosen NOD32 and Avast!. Avast! offers a free version of their anti-virus located here, while NOD32 is pay only. I highly recommend NOD32 if you have the cash, because it is a great piece of software. However, if you’re strapped, Avast! offers much of the same functionality.

Winner – NOD32
Runner up – Avast!

Those 3 types of applications form the basis of all your computing. Your browser allows you to interact with the web, your anti-virus keeps you safe, and your chat services let you connect to friends. Everything else is just icing on the cake.