![]() |
Smalltalk/X WebserverDocumentation of class 'FTPSession': |
|
Class: FTPSessionInheritance:Object | +--AbstractTCPSession | +--AbstractFTPSession | +--FTPSession
Description:Helper class for the FTPServer. an FTP serverSession - subclass to add/change functionality the server's functionality is limited (by purpose): mkdir - never allowed (see doDelete:) rmdir - never allowed (see doDelete:) rm - never allowed (see doDelete:) put - only allowed for new files (i.e. existing files are never overwritten) be aware, that this FTPSession allows a client to GET all files which are readable by me (except for the white- and blacklists below). To limit access to certain folders, you can explicitly whiteList allowed folders (by setting whiteListedFolders) and/or exclude individual folders via a blackList (setting blackListedFolders). Whitelisting is done first, then blacklisting i.e. it is possible to allow everything under '/foo/...' by adding '/foo' to the whitelist, and still exclude individual subdirectories under it by adding (say) '/foo/bar/baz' to the blacklist. Instance protocol:basic ftp user commands
Demonstration:
|
|
ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 27 Sep 2023 18:43:43 GMT
|