Selasa, 28 Juni 2011

File Transfer Protokol

FTP stands for File Transfer Protocol. FTP consists of a client and a server which is an application that provides access / exchange of data transfer between two computers (client and server). Transfer the file / data can be shaped teradi between mainframe computers and a computer on a local network. Or data transfer can occur from our computer to an FTP server via the internet. FTP is an application that is very useful (powerful) because this application provides access to the visitor or user to access data stored on those servers, and can be accessed by a large number of computers simultaneously
The process that occurs in the FTP
Broadly speaking, the process of transfer of data or files on the FTP has two grooves.
The first path is the process of transferring data from local computer (your computer) to a computer server (remote computer) that provides access to ftp, this process is known as the UPLOAD, while the data transfer process from the server computer (remote to local computer (your computer) prosess called DOWNLOAD.
Below is its plot:
Forms FTP
The basic form of FTP are: ftp://host.domain
Two kinds of FTP based on its access rights:
1. FTP Users
Ftp means that FTP user can access and has permission only in the limit only for certain users. Because the ftp user supplied an access authentication if we are going into it.
The format of the FTP user is:
ftp://user @ host.domain
2. Anonymous FTP
Means anonymous FTP, anonymous FTP provided / no name, in other words, FTP can be accessed by anyone and usually without a password, or if the requested password. Usually the server asks for our email address as his password for ferivikasi.
Examples:
ftp://unila.ac.id ftp://ftp5.freebsd.org ftp://ftp.tucows.com
FTP Server
FTP Server is a computer server that provides FTP access to the Intranet (local) or Internet (global). Kind - kind of builder software FTP server:
FTPd pro-FTPd Wu-FTPd ftpX Troll-FTPd etc.
FTP Client
FTP client is a device used to transfer files in the Internet environment using a standard FTP (File Transfer Protocol). File transfer process in the Internet environment is almost the same as the transfer process in a DOS environment, it's just that there are some advantages.
There is a FTP Client (installed) on our computer, and can do ftp to the server process that provides FTP access (FTP-server).
Kind - kind of FTP Client: - FTP Client Under Windows:
Cute FTP. WS_FTP Get Right Go! Zilla Coffe Cup Kazza etc..
- FTP Client Under UNIX:
telnet axyFTP wget caitoo cftp curl downloader moxftp ncftp etc.
- FTP Client Under DOS (MS-DOS Prompt) Commands - Basic commands FTP (Basic FTP Commands) Some commands (command) is frequently and urgently needed by the user in the process of ftp is as below:

    
* Open to start the ftp and ftp to connect to the server from the ftp prompt (ftp>;)
    
* Nlist, dir, ls lists of files - files that exist on the ftp server.
    
* Cd change directory in a hierarchical directory ftp-server.
    
* Pwd provide information to the user / client in active directory where he is on the ftp-server.
    
* Lls, lcd, lpwd commands used to provide information to us in active directory where we are on the local computer
    
* Get command is used to retrieve the file (download) from the ft-server to the local computer.
    
* Put this command is used if we want to put (upload) data to the ftp-server, from our computer to the server computer.
    
* Mput / mget command is similar to the get and put but is used when we want to take and put some data directly
    
* Prompt set prompt interactively; "on" is a more secure form of prompt, in this mode every multiple commands in verification, "off" in this mode each command as doubtful.
    
* Ascii / binary transfer data in ascii file format (text) or binary (compiled in machine language)
    
* Quit and decided to end the ftp connection from our computer to a computer server (Connection Loss)
How to FTP:

   
1. FTP via telnet:
How to pass up FTP via telnet is not difficult, under these measures - the steps to do ftp via telnet:
Ø first telnet to the unix machine Ø type the ftp command, Ø enter your user name anonymous (if you want anonymous access) and our own user name (login) if you want to access the ftp user. Ø Enter a password.
Click Start-> Run ... à fill that column later in the Telnet host.domain.à click OK
Once connected, we can perform commands on the standard of our ftp prompt.
Below are examples of conduct anonymous ftp via telnet:
riki teenager (~): ftp ftp.unila.ac.id Connected to chosen.unila.ac.id. Chosen 220 Microsoft FTP Service (Version 4.0). Name (ftp.unila.ac.id: riki): anonymous 331 Anonymous access allowed, send identity (e-mail name) as password. Password:
230 Anonymous user logged in.. Remote system type is Windows_NT. ftp> hash Hash mark printing on (1024 bytes / hash mark). ftp> bin 200 Type set to I. ftp> dir 227 Entering Passive Mode (192,168,1,212,13,233). 125 Data connection already open; Transfer starting. dr-xr-xr-x 1 owner group 0 Apr 7 13:00 programming dr-xr-xr-x 1 owner group 0 Aug 1 6:31 proxy_utility dr-xr-xr-x 1 owner group 0 Apr 7 11:43 scanner_utility dr-xr-xr-x 1 owner group 0 Apr 7 11:29 StarOffice dr-xr-xr-x 1 owner group 0 Apr 7 12:50 unix dr-xr-xr-x 1 owner group 0 Apr 9 14:46 in viral dr-xr-xr-x 1 owner group 0 Apr 7 14:16 windows_9x # 226 Transfer complete. ftp>

   
1. FTP through DOS
basically FTP through DOS is the same with FTP via telnet, it's just that there is data transfer from local computers (windows based) to a computer server.
Step - step is: Ø open your MS-DOS prompt. Ø Move to the directory where you store the file (which will be downloaded or uploaded). Ø Starting ftp measures such as the FTP telnet. Below are examples of doing ftp through DOS.

   
1. FTP via an FTP Client Under Windows using WS-FTP
FTP for Windows applications often use software called WS-FTP, which is its use easier and more interactive for the wearer. Running WS-FTP (an assumption already installed on your windows) just in the beginning by clicking on its icon twice 9.x windows on your desktop. The first process in the logon procedure starts with (enter name and password). After successfully logon procedure, we can see the list of directories and files contained in both local and from remote servers. Move the directory can be very easy to use WS-FTP, either change directories on the local, as well as in the remote because of all the facilities already just click on the button (button) only. So also in terms of data transfer, very easy, just choose which data you download / upload, he lived the remainder selecting the arrow plot its course. The following step by step to use an FTP client to use WS-FTP:
a.Klik 2x WS-FTP icon on your desktop. click the icon on the desktop, Tip! Or look at the menu: Startàprogramsàwsftp32 b.Host ftp server Fill in Password username no user input the session login, password and destination host
If you want the anonymous connection, just check any part of its anonymous, and fill in the password field with the email address anda.Klik OK button when done.
Wait a few moments, when you successfully login to the ftp-server, it will exit the display as shown below:
List Directory on FTP Server
(Remote directory). Directory Listing on our computer (local) List of Computer Files on our (local) List of Files on the FTP server (remote file).
c.Proses transfer can be viewed with the advent of the status of the transfer windows, which stated in percent. And the transfer is complete when there is complete information transfer at the bottom of his windows.
to start transferring data, select data to be downloaded / uploaded, by clicking on the file name / directory that we will download / upload, then click the arrow image (arrow to the left to download, right arrow to upload).
d. to get out of the WS-FTP,
Clik the Close button on the bottom left of WS-FTP. Then you will be disconnected from the server connection.

Tidak ada komentar:

Posting Komentar