eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SmalltalkFTPSession':

Home

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

Class: SmalltalkFTPSession


Inheritance:

   Object
   |
   +--AbstractTCPSession
      |
      +--AbstractFTPSession
         |
         +--SmalltalkFTPSession

Package:
stx:goodies/communication
Category:
Net-Communication-FTP
Version:
rev: 1.12 date: 2022/12/08 20:12:36
user: stefan
file: SmalltalkFTPSession.st directory: goodies/communication
module: stx stc-classLibrary: communication

Description:


Helper class for the FTPServer.

an FTPSession which allows for access to Smalltalk internals.
Unfinished - this is a simple unfinished demo.



    (FTPServer forPort:12345)
        sessionClass:SmalltalkFTPSession;
        start

    then, on the command line, try:
        ftp loalhost 12345

copyright

COPYRIGHT (c) 2003 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Instance protocol:

ftp protocol
o  canChangeWorkingDirectory: newDirectory
true if client is allowed to change to a new directory.
Here, only the simulated virtual directories 'classes' and 'processes'
are allowed.

o  doLIST: longFormat
list of the virtual directories.
Either lists classes or processes

o  doListClasses: longFormat
list class names as if they were files in a folder

o  doListProcesses: longFormat
list process names as if they were files in a folder

o  doListServices: longFormat

o  generateListLineForClassNamed: aClassName

o  generateListLineForProcessWithID: pid

protocol testing
o  allowedToSeeDirectory: dir

o  allowedToWriteIntoDirectory: dir

queries
o  defaultDirectoryForUser: userName
(comment from inherited method)
raise an error: must be redefined in concrete subclass(es)

o  loginUserNeedsPassword: userName
raise an error: must be redefined in concrete subclass(es)



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:28:25 GMT