java - write one's own little ftp server -
i'd code ftp server in java, practice. need have client send ftp commands , "parse" commands on server , translate them file system access, right? don't want fancy, implement basic commands.
so when client sends "cd directoryname" check substrings before , after space , list of files specified directory. along lines, right?
i looked bit @ source code here: http://svn.apache.org/viewvc/mina/asyncweb/trunk/server/src/main/java/org/apache/asyncweb/server/ couldn’t find any< code reads in ftp commands...
am going in right direction or off?
Comments
Post a Comment