Author Topic: Retrieving Server-Sided Information  (Read 1268 times)


Now, how would I create a file?

i.e. config/server/test/whatever.txt ?

Type this into your console:

$f = new fileObject();
$f.dump();
$f.delete();

Note that the arguments each have a maximum length of 255 characters.
i checked this out back in my skiddie-with-eval days and found out that, in fact, the real limit is this:
you can only send 255 bytes (~255 characters) counting all information sent. the real number is 256 i think, but it trims one off for the id of the servercmd (commandtoserver('blah' <-- tagged field, sent as integer (id))
Type this into your console:

$f = new fileObject();
$f.dump();
$f.delete();

or even
new fileObject(f);
f.dump();
f.delete();

I doubt that lug, because I once sent a server command with upwards of 1000 characters of data (I was uploading a file), andit worked fine.