Roxen.git
/
server
/
plugins
/
protocols
/
ftp.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/plugins/protocols/ftp.pike:1:
// This is a roxen protocol module. // Copyright © 1997 - 2001, Roxen IS. /* * FTP protocol mk 2 *
-
* $Id: ftp.pike,v 2.
84
2002/
10
/
27
20
:
32
:
52
nilsson
Exp $
+
* $Id: ftp.pike,v 2.
85
2002/
11/
10
01
:
48
:
25
mani
Exp $
* * Henrik Grubbström <grubba@roxen.com> */ /* * TODO: * * How much is supposed to be logged? */
Roxen.git/server/plugins/protocols/ftp.pike:178:
#endif if (m_rid) { object o = this_object(); foreach(indices(m_rid), string var) { if (!(< "create", "connection", "configuration", "__INIT", "clone_me", "end", "ready_to_receive", "send", "scan_for_query", "send_result", "misc", "url_base", "set_response_header", "add_response_header", "set_output_charset",
-
"adjust_for_config_path",
+
"adjust_for_config_path",
"PrefLanguages",
"destroy", "_num", "__num">)[var]) { #ifdef FTP2_DEBUG if (catch { #endif /* FTP2_DEBUG */ o[var] = m_rid[var]; #ifdef FTP2_DEBUG }) { report_error("FTP2: " "Failed to copy variable %s (value:%O)\n", var, m_rid[var]);
Roxen.git/server/plugins/protocols/ftp.pike:201:
} } o["misc"] = m_rid["misc"] + ([ ]); } else { // Defaults... client = ({ "ftp" }); prot = "FTP"; clientprot = "FTP"; real_variables = ([]); variables = FakedVariables( real_variables );
-
misc = ([]);
+
misc = ([
"pref_languages" : PrefLanguages()
]);
cookies = ([]); throttle = ([]); client_var = ([]); request_headers = ([]); prestate = (<>); config = (<>); supports = (< "ftp", "images", "tables", >); pragma = (<>); rest_query = "";