home | about | newsletters | contact | advertising | shop | radio | courses | widget | site map

Helping Normal People Get Their Geek On And Live The Digital Lifestyle

Everyday People Learning Insider Tools and Tactics To Live The Ultimate, High-Tech Lifestyle
» Learn More About PCMech University

"Fantastic site. So heartening to find someone who is so keen to share the knowledge without charging a fortune for it. Well done!" - Kris, Melbourne, Australia
» LEARN MORE

Login: Password: Remember me

Creating FTP “Shortcuts” Using the Windows HOSTS File

Posted Feb 18, 2008 by Rich Menga  

Windows XP has an editable file called HOSTS. It is a text file and located typically at:

c:\windows\system32\drivers\etc\HOSTS

This is a plain text file that can be edited. If you use FTP quite a bit, you can use your HOSTS file as a “shortcut” of sorts to assign easy-to-remember local hostnames for FTP server IP addresses. It’s easy to do and only takes a few minutes. See video below for details.

Posted In: PCMech Videos

2 Comment(s)

  1. curleb said:
    2/20/2008 7:51 pm

    Hey, Rich…

    Just wanted to thank you for your tutorial here, as well as Jason Faulkner’s one re running Ubuntu w/in WinXP. Sweet…!

    No comparison at all, but here’s an even quicker shortcut for using FTP via URI in exchange (one that even guarantees a GUI window for those non-cmd users):

    ftp://login:*@subdmn.ftp_site.com/../../../my_dir

    Store this as a shortcut to a frequent FTP location and you have an Explorer-based FTP client ready to go.

    Everything up to the @-sign is universal and will enforce a login prompt via Explorer; in domain use it will default to your login id. The site info is whatever your shortcut would need to point to, while the “../../../my_dir” will vary according to your remote host’s directory structure. The example here refers to a UNIX-side $HOME that is 3-levels below the targets parent directory. For example, a Solaris UNIX $HOME of /export/home/my_user would need to back-track to root before trying to get to the target.

    Again, not much compared to the guest Ubuntu tutorial, but this serves to deaden the pain from distributed users constantly confused by FTP clients.

    [Reply]

  2. Dinis said:
    3/6/2008 6:28 am

    how do I do this on cmd if i wanted to download files from a ftp server to a different server, by just double clicking on the cmd. thanks

    [Reply]

Post a Comment

Got The Newsletter?

Exclusive PCMech Content. Sign up and receive our free report: 20 Tips For Becoming a Technology Power User.

NAME:
EMAIL:

PCMech Highly Recommends...

This is the "kitchen sink" e-book for computer maintenance and repair. A jam-packed 346 pages. As Monte Russel (the author) says in his e-book, "Computers have always been complex, but if a guy that grew up out in the boonies in Wyoming can fix 'em, you can also!" Monte is a 20-year veteran of the U.S. Air Force. Afterwards, he served a long career as a computer repair tech and network administrator. LEARN MORE