SCOUG-Programming Mailing List Archives
Return to [ 15 | 
August | 
1998 ]
 
 
 
Content Type:   text/plain 
It's a little rough, but here is a recap of what we discussed today.  I've added one or two modules at   
the bottom.  
 
Comments welcome.  
 
 
Module: Communications  
Purpose: To facilitate communications between server and client.  To mask the  
details of communicating over TCP/IP.  
 
Private Data:  
 
Active Command Socket  
Active Data Socket  
 
 
Methods:  
 
GetCommand  
SendResponse  
IsConnectionActive  
 
Module: FileSystem  
Purpose: To facilitate manipulation of local files and directories.  
 
Private Data: None  
 
Methods:  
 
GetFileList  
WriteFile  
ReadFile  
DeleteFile  
DoesFileExist  
RenameFile  
MoveFile  
MoveDir  
GetDirList  
DoesDirExist  
RenameDir  
CreateDir  
RemoveDir  
 
 
Module: Connection  
Purpose: To maintain information about a given FTP client connection  
 
Private Data:  
 
A Communication Object  
CurrentCommand  
CurrentDir  
A User Object  
Current stats  
Valid Logon?  
 
 
Module: Authentication  
Purpose: To provide access authentication  
 
Private Data:  
 
A User Object  
 
Methods:  
 
CanSee  
CanRead  
CanWrite  
CanDelete  
CanRename  
CanMove  
CanRun  
ValidLogon  
 
 
Module: User  
Purpose: To provide access to persistant data about a given user.  
 
Private Data:  
 
UserID  
Password  
Stats  
UserType  
An Access Object  
IP Address  
 
Methods:  
 
IsLogonValid  
RecordFileTransfer  
 
 
Module: RFC959  
Purpose: To implement RFC959 using the other modules described here.  
 
Private Data:  
A Connection Object  
 
Methods:  
One for each RFC 959 command  
 
 
Module: Server  
Purpose: To provide general structure and startup of FTP Server  
 
Data:  
 
 
Methods:  
 
StartListen  
GetConnection  
DispatchConnection  
Shutdown  
 
 
 
 
 
 
=====================================================  
 
To unsubscribe from this list, send an email message  
to "steward@scoug.com". In the body of the message,  
put the command "unsubscribe scoug-programming".  
 
For problems, contact the list owner at  
"rollin@scoug.com".  
 
=====================================================  
 
  
Return to [ 15 | 
August | 
1998 ] 
  
  
The Southern California OS/2 User Group
 P.O. Box 26904
 Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
 
 |