Here are actions and commands that you can give to SPW to let you read and write to SPW's local filesystem. == Viewing the SPW filesystem == To view a '''directory''' under (or including) <code>/spw</code>, use the "showls" action of the SPW script. For example, the following link will display the a directory listing of the /spw/bin directory: http://purl.net/net/spw/spw.pl?action=showls&path=\/spw\/bin\/ To view a '''file''' under the <code>/spw</code> directory, use the "showfile" action of the SPW script. For example, the following link will display the current code of <code>spw_main.pl</code>: http://purl.net/net/spw/spw.pl?action=showfile&path=\/spw\/bin\/spw_main.pl In other words, in both cases, you access the <code>spw.pl</code> script, with argument "action=something", with the path of the file you wish to show given as a "path" argument, with the '/'s in the path being quoted by backslashes. To '''download a .tar''' of the entire <code>/spw</code> directory, along with the wrapper files in <code>/var/www</code>, use the following link: http://purl.net/net/spw/spw.pl?action=download&path=\/spw\/spw.tar == Modifying something in the SPW filesystem == The most practical way to submit a change is via a unix patch file. See DoPatch. See SpwTutorial for an example of how to make a patch file suitable for application to SPW. Other methods: * FileReplacement * PatchFromFile ---- CategoryDocumentation
Summary:
This change is a minor edit.
To save this page you must answer this question:
Tell me any number between 11 and 13
Username: