eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FTPServer':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: FTPServer


Inheritance:

   Object
   |
   +--AbstractTCPSocketServer
      |
      +--FTPServer

Package:
stx:goodies/communication
Category:
Net-Communication-FTP
Version:
rev: 1.20 date: 2017/01/27 23:08:51
user: cg
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 server's functionality is limited (by purpose)
- see the comment in FTPSession



    FTPServer startOnPort:12345.

    (FTPServer forPort:12345)
        sessionClass:SmalltalkFTPSession;
        start


Class protocol:

debugging
o  verbose: aBoolean
self verbose:true
self verbose:false

instance creation
o  defaultPort
return the default port nr (21).
Notice: this is a priviledged port, not normally accessible to users.

obsolete
o  onPort: aPort
FTPServer onPort:12387


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

tests
o  testClose

o  testOpen


Instance protocol:

accessing
o  defaultSessionClass

debugging
o  log: aMessage

obsolete
o  onPort: aPort
obsolete (backward compatible) entry


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


Demonstration:


    FTPServer start.



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 25 Apr 2024 00:45:29 GMT