Roxen.git / server / protocols / prot_ftp.pike

version» Context lines:

Roxen.git/server/protocols/prot_ftp.pike:1:   // This is a roxen protocol module.   // Copyright © 2001 - 2009, Roxen IS.    + #if constant(StartTLSProtocol) + inherit StartTLSProtocol; + #else   inherit Protocol; -  + #endif +    constant supports_ipless = 0;   constant name = "ftp";   constant prot_name = "ftp";   constant requesthandlerfile = "protocols/ftp.pike";   constant default_port = 21;      // Some statistics   int sessions;   int ftp_users;   int ftp_users_now;      mapping(string:int) ftp_sessions = ([]);      void create( mixed ... args )   {    roxen.set_up_ftp_variables( this_object() );    ::create( @args );   }