Perl docs
From MWCSWiki
Example syntax:
new Ajax.Request('/~ehols9do/cgi-bin/dir.cgi', {parameters:'dir=' + encodeURIComponent(dir), onSuccess:handlerFunc});
Contents |
dir.cgi
Input: String dir: Directory that you wish to get the dir contents of. Output: JSON Object representing hash in the form: file -> "type" where type is "dir" for a directory, and the file extension for a normal file.
nis.cgi
Input: un: username pw: password Output: Boolean whether the user entered a correct password
info.cgi
Input: String file: the file to get the info of. Output: JSON Object representing a hash in the form: size -> int size of file mode -> Permissions of file
func.cgi
Input: String file: the full filepath to the file to take action on. String newfile: for mv and cp, the new filename to give it. String func: the function to perform (mkdir,rmdir, rm, touch, head) String dir: the directory the file is in (in case the file doesn't have the full path, depreciated) Output: Output of the command.

