Vous êtes sur la page 1sur 13

Logging Onto and Off of a Remote System

To begin using Microsoft's FTP client, Open a command prompt and switch to the destination directory (where you want the download file). To start an FTP session, enter: ftp host_name where hostname is the name or IP address of the remote system. You will then be asked to enter your userid and password. Once you have successfully logged onto a remote system, you will be able to use ftp commands to view a listing of files on the remote system and transfer files between the two systems. Example: Download i386.exe (Windows NT 3.5 Resource Kit) from ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt35/i386 to C:\Temp\Download

1. Open a command prompt. Enter CD C:\Temp\Download (assuming that directory


exists). Enter: ftp ftp.microsoft.com You should now see a prompt similar to this: Connected to ftp.microsoft.com. 220 Microsoft FTP Service User (ftp.microsoft.com:(none)): For the userid, Enter: anonymous You should see a prompt similar to this: 331 Anonymous access allowed, send identity (e-mail name) as password. Password: Enter: userid@domain.com as the password at the "Password:" prompt. Note: Any e-mail address in a userid@domain.com format should work. You will not be able to see the password as you type it. To download i386.exe from the bussys/winnt/winnt-public/reskit/nt35/i386 directory, Enter: get bussys/winnt/winnt-public/reskit/nt35/i386/i386.exe Note: You could have also used ls to view the directory and file names, cd bussys/winnt/winnt-public/reskit/nt35/i386 to switch directories, and get i386.exe to download the file from within that directory.

2.

3. 4.

5. To end the FTP session, Enter: quit or bye.

How to use FTP via Windows Explorer


Microsoft has developed an easy way for you to connect and upload files to your website. Notice: Internet Explorer once had a built in FTP client which a lot of people used. You can NOT access FTP through Internet Explorer anymore. This guide will walk you through connecting to an FTP account using Windows Explorer.

First you will need the FTP account login information. You can connect with the primary cPanel username and password or an account you've created in cPanel. Either way you should have the following information about the FTP account: Server: Usually yourdomain.com or the IP of your server. Username: Cpanel username or user@yourdomain.com Password: The password that was created for the user you are using. Now that you have the account information you need to pull up Windows Explorer. You can go to Start > Computer, or use the shortcut Windows Key + E to start it.

Once Windows Explorer is up Type ftp://username@yourdomain.com into the address bar, that should connect you and cause it to prompt you for a password.

Just input the full username and password for the account you wish to connect to and hit Log On.

You now have an open FTP connection, you can drag and drop files to and from this windows and your computer to upload/download files.

If you forget to enter a username and password, then you may see folder called pub. If so, you have accidentally tried to connect to anonymous FTP, and your connection has failed. Please try again.

Download and Install JDK (Java Development Kit) The latest version of jdk is 6 (update 1) at the time of writing the tutorial. You can download the latest version of jdk from http://java.sun.com/javase/downloads/index.jsp. Once you download the exe file you can now install it. Just follow as mentioned: To install the jdk, double click on the downloaded exe file (jdk-6u1-windows-i586-p.exe) Step 1. Double Click the icon of downloaded exe.

You will see jdk 6 update 1 window as shown below.

Step 2: Now a "License Agreement" window opens. Just read the agreement and click "Accept" button to accept and go further.

Step 3: Now a "Custom Setup" window opens.

Step 4: Click on "Change" button to choose the installation directory. Here it is "C:\Program Files\ Java\jdk1.6.0_01". Now click on "OK" button.

Clicking the "OK" button starts the installation. It is shown in the following figure.

Step 5: Next window asks to install Runtime Environment.

Click the "Change" button to choose the installation directory of Runtime Environment. We prefer not to change it. So click "OK" button.

Step 6: Click "OK" button starts the installation.

Step 7: Now "Complete" window appears indicating that installation of jdk 1.6 has completed successfully. Click "Finish" button to exit from the installation process.

Step 8: The above installation will create two folders "jdk1.6.0_01" and "jre1.6.0_01" in "C:\ Program Files\ java" folder.

Step 9: To make available Java Compiler and Runtime Environment for compiling and running java programs , we set the system environment variables.

First of all select "My Computer"icon and right click the mouse button. Now click on "system Properties" option. It provides the "System Properties" window , click the 'Advanced' tab. Then Click the "Environment Variables" button. It provides "Environment Variables" window. Now select the path in System variables and click 'Edit' button. The"Edit System Variable" window will open. Add "c:\Program Files\Java\jdk1.6.0_01\bin" to 'variable value' and click 'Ok', 'Ok' and 'Ok' buttons.

Step 10: Now set the JAVA_HOME variable and set its value to " C:\Program Files\Java\jdk1.6.0_01 ". If this variable has not been declared earlier then create a new system variable by clicking on "New" button and give variable name as "JAVA_HOME" and variable value as " C:\Program Files\Java\jdk1.6.0_01 ". Now click "OK". This variable is used by other applications to find jdk installation directory. For example, Tomcat server needs "JAVA_HOME" variable to find the installation directory of jdk.

Step 11: Now this is the final step to check that you have installed jdk successfully and it is working fine. Just go to the command prompt and type javac and hit enter key you will get the screen as shown below :

Now you can create, compile and run java programs. Related Tags for Download and Install Java: java, c, http, tools, com, jsp, file, orm, date, development, ui, form, time, update, io, download, load, version, install, test, compile, tutorial, pil, ria, this, tool, sun, set, exe, oo, basic, platform, jdk, js, for, index, program, writing, mpi, to, ram, each, require, run, e, il, it, eps, enable, rsi, section, ls, ads, can, im, dev, from, ce, in, no, pda, rm, as, sta, m, nt, ps, ca, j, ad, es, step, ase, all, pi, me, pro, do, down, tor, s, xe, su, sp, ee, at, late, k, is, ir, javase, ime, ll, kit, develop, ea, and, tform, tf, upd, va, tt, tutor, s, s, ri, tea, teach, th, steps, av, st, .js, .com, ab, abl, 6, loads, pl, pr, nd, on, om, ogr, ol, o, nl PreviousIndexNext

Ask Questions? Discuss: Download and Install Java View All Comments Post your Comment

Your Name (*) : Your Email : Subject (*): Your Comment (*):

Vous aimerez peut-être aussi