alright, i think i found it..
there is an xml file in the read only area of the filesystem "/mnt/apps/usr/local/cfg/" named "proftpd.xml" ... using the script posted
i was able to edit the file to insert the debugging code. Now to restart the device....
yes! it works. now to figure out why that camera refuses to upload to the ftp server
While poking around in "/mnt/apps/usr/local/cfg/", i found an interesting file in "sohoWebContent/api.html" which can be accessed on your device @ "http://yournas/api.html" which details the api to edit the functions of the nas, but i lack the knowledge of the required scripting languages to do it that way. Below is the beginning of that page (the whole thing is over 600KB):
The LifeLine API provides both an XML Remote Procedure Call (XML-RPC) interface and a simple REST/JSON interface. XML-RPC can be parsed natively by a wide variety of scripting tools, and can also be interpreted directly in a fairly easy manner. Each LifeLine function lists the arguments and return values and the key errors that may be returned.
When an error occurs, both a code and a textual description are generated. In XML-RPC, errors are returned in a well-defined structure set by its standard. Many implementations of XML-RPC use this structure to generate exceptions. In the REST/JSON interface, errors are returned as an error structure with a code and description. The error structure is 'null' on success. The XML-RPC interface is accessed through http://device/xml/FunctionName
The REST/JSON interface takes URL arguments or posted form data as input and returns JSON encoded information. The structure of the data is flattened to simple key value pairs using a scheme that defines the structure within the field names. The data can be passed either as arguments included in the URL, or as a POSTED form with a field for each data element. The key is constructed by separating each structure in the heirarchy with a colon. Array indexes are numeric and start at index 0. Take for an example, the following argument definition for an API call:
myfunction(string value, struct s)
struct s has the following members:
A name member.
An array of strings.
An array of structures with the name and attribute members.
These s struct members behave as follows:
The parameter 'value' is set to 'text'.
The name member is set to 'bob'.
The first element of the array member is set to 'mystring'.
The name member of the first element of sarray is set to 'bob'.
The REST/JSON interface is accessed through http://device/cp/FunctionName