log_on_failure
+= USERID
}
To connect to the Server from the Windows machine, just run telnet (click  Start  from the Task 
Bar, then select  Run  , and type telnet {host name}). 
5.1.2  Transferring Files from and to the Server With FTP 
A convenient way to transfer files to and from the Linux server is the File Transfer Protocol. The 
standard configuration for FTP is a private user only site, which means that only users that have 
accounts on the server are allowed to transfer files, and files may only be transferred to and 
from the user's home directory path. Since the developers should only work with local copies of 
the source code in their home directory, this FTP access mode is well suited. 
As for the telnet server, an FTP server and an FTP client take care of the file transfer. The FTP 
server is invoked as the client requests an FTP connection. 
You may connect to the Linux server either through the command line, or through a Web 
browser. To start the command line FTP client on the Windows machine, click  Start  from the 
Task Bar, then select  Run   and type ftp {host name}. The ftp program will request a login 
username and password.  
ftp theServer.mit.edu
From a browser, type ftp://{username}@{hostname} to connect. A window requesting the login 
password will be shown. 
ftp://andreas@theServer.mit.edu
The command line tool provides more functionality than browser based FTP. For example, files 
can be transferred in ASCII or binary mode (ASCII mode transfer takes care of the character 
format differences between Linux and Windows, and converts the character codes during 
transfer). Command line FTP also allows providing a script file that is run at the FTP session 
start time. A script file is useful to perform repetitive tasks. 
The browser based FTP is easier to use since it allows dragging and dropping of files in a 
graphical environment, but it is less flexible that the text based FTP interface. 
73 




Java Web Hosting Application Development Using Java Technologies Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.