eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FTPServer':

Home

everywhere
www.exept.de
for:
[back]

Class: FTPServer


Inheritance:

   Object
   |
   +--FTPServer

Package:
stx:goodies/communication
Category:
Net-Communication-FTP
Version:
rev: 1.17 date: 2009/02/26 21:31:17
user: stefan
file: FTPServer.st directory: goodies/communication
module: stx stc-classLibrary: communication
Author:
Claus Atzkern

Description:


an FTP server - subclass to add/change its functionality.

the servers functionality is limited (by purpose)
- see the comment in FTPSession



    FTPServer startOnPort:12345.

    (FTPServer forPort:12345)
        sessionClass:SmalltalkFTPSession;
        start


Class protocol:

instance creation
o  forPort: aPort
return a server for the given port

o  start
start a server on the default port (21).
Notice: this is a priviledged port, not normally accessable to users.

o  startOnPort: aPort
start a server on the given port

obsolete
o  onPort: aPort

** This is an obsolete interface - do not use it (it may vanish in future versions) **

tests
o  testClose

o  testOpen


Instance protocol:

accessing
o  port: aPortNumber

o  sessionClass: something

debugging
o  log: aMessage

obsolete
o  onPort: aPort

** This is an obsolete interface - do not use it (it may vanish in future versions) **

serving
o  servePort: aPort
start an FTP-Server on a port

o  start
start an FTP-Server

serving-private
o  serverLoop


Demonstration:


    FTPServer start.



ST/X 6.1.1; WebServer 1.620 at exept:8081; Mon, 21 May 2012 16:32:36 GMT