|
Class: SmalltalkFTPSession
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
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
copyrightCOPYRIGHT (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.
ftp protocol
-
canChangeWorkingDirectory: newDirectory
-
true if client is allowed to change to a new directory.
Here, only the simulated virtual directories 'classes' and 'processes'
are allowed.
-
doLIST: longFormat
-
list of the virtual directories.
Either lists classes or processes
-
doListClasses: longFormat
-
list class names as if they were files in a folder
-
doListProcesses: longFormat
-
list process names as if they were files in a folder
-
doListServices: longFormat
-
-
generateListLineForClassNamed: aClassName
-
-
generateListLineForProcessWithID: pid
-
protocol testing
-
allowedToSeeDirectory: dir
-
-
allowedToWriteIntoDirectory: dir
-
queries
-
defaultDirectoryForUser: userName
-
(comment from inherited method)
raise an error: must be redefined in concrete subclass(es)
-
loginUserNeedsPassword: userName
-
raise an error: must be redefined in concrete subclass(es)
|