ftp.server vocabulary
Factor handbook ยป Vocabulary index


Summary
FTP server

Metadata
Tags:network, servers


Words

Tuple classes
ClassSuperclassSlots
ftp-client tupleuser password extra-connection
ftp-command tupleraw tokenized
ftp-disconnect tuple
ftp-get tuplepath
ftp-list tuple
ftp-put tuplepath
ftp-server threaded-serverserving-directory
type-error tupletype


Generic words
WordStack effect
handle-passive-command( stream obj -- )


Symbol words
client
server


Ordinary words
WordStack effect
(send-response)( n string separator -- )
<ftp-command>( str -- obj )
<ftp-disconnect>( -- ftp-disconnect )
<ftp-get>( path -- ftp-get )
<ftp-list>( -- ftp-list )
<ftp-put>( path -- ftp-put )
<ftp-server>( directory port -- server )
anonymous-only( -- )
can-serve-directory?( path -- ? )
can-serve-file?( path -- ? )
client-loop-dispatch( str/f -- ? )
directory-change-failed( -- )
directory-change-success( -- )
display-directory( -- string )
expect-connection( -- port )
finish-directory( -- )
finish-file-transfer( -- )
fixup-relative-path( string -- string' )
ftp-error( string -- )
ftp-unimplemented( string -- )
ftpd( directory port -- server )
fulfill-client( obj -- )
handle-CWD( obj -- )
handle-EPSV( obj -- )
handle-LIST( obj -- )
handle-MDTM( obj -- )
handle-PASS( ftp-command -- )
handle-PASV( obj -- )
handle-PWD( obj -- )
handle-QUIT( obj -- )
handle-RETR( obj -- )
handle-SIZE( obj -- )
handle-STOR( obj -- )
handle-SYST( obj -- )
handle-TYPE( obj -- )
handle-USER( ftp-command -- )
handle-client-loop( -- )
make-path-relative?( path -- ? )
not-a-plain-file( path -- )
parse-type( string -- string' )
passive-loop( server -- )
port>bytes( port -- hi lo )
random-local-server( -- server )
read-command( -- ftp-command/f )
send-banner( -- )
send-response( ftp-response -- )
serve-directory( server -- )
server-response( string n -- )
serving?( path -- ? )
start-directory( -- )
transfer-incoming-file( path -- )
transfer-outgoing-file( path -- )
type-error( type -- * )
unrecognized-command( obj -- )


Class predicate words
WordStack effect
ftp-client?( object -- ? )
ftp-command?( object -- ? )
ftp-disconnect?( object -- ? )
ftp-get?( object -- ? )
ftp-list?( object -- ? )
ftp-put?( object -- ? )
ftp-server?( object -- ? )
type-error?( object -- ? )


Files


Metadata files