Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  bin 407 over 23 years Matt Jones Folded the functionality from DBWriter into Doc...
  images 104 almost 24 years Matt Jones added servlet interface images
  lib 643 over 23 years berkley added data port param
  src 655 over 23 years berkley newninterface (actually an abstract class) to h...
build.sh 76 Bytes 329 over 23 years Matt Jones -Reorganized xmltodb module to support new inst...
build.xml 6.76 KB 642 over 23 years berkley added the data port param
test-query.xml 709 Bytes 329 over 23 years Matt Jones -Reorganized xmltodb module to support new inst...
test.xml 489 Bytes 430 over 23 years Matt Jones Updated the test.xml file to use more XML featu...

Latest revisions

# Date Author Comment
655 01/11/2001 01:36 PM berkley

newninterface (actually an abstract class) to handle data file uploading through met

654 01/10/2001 01:34 PM berkley

fixed error in logic. sending the filesize as an int terminated by a zero failed when the file size was greater than 256. The filesize is now sent as a string followed by a zero.

653 01/10/2001 01:05 PM berkley

added support for the server to return the docid of the newly added data file. Also, now the data stream must be prefixed with the following information: filename <0> sessionid <0> filesize <0>. where the <0> symbol is a byte containing zero. The filesize is sent as an int and the filename and sessionid are sent as strings (in byte form).

652 01/09/2001 05:37 PM bojilova

unified getting "docid" value from metacat URLs specified in <resourceIdentifier> tags
by using MetaCatUtil.parseQuery() method in the same way as in MetaCatServlet.

651 01/09/2001 02:02 PM berkley

fixed error handling and time out issues. Also fixed thread syncronization problem

650 01/09/2001 01:03 PM berkley

multiple files with the same names no longer overwrite each other.

649 01/09/2001 11:09 AM berkley

fixed minor error

648 01/09/2001 11:03 AM berkley

added support for data file upload via a random, authenticated socket.
The action added to metacatServlet is getdataport. A client can send a getdataport request. the server returns a random port number and starts a thread to handle the request on the given random port. The thread will only accept requests from the client that has the session id equal to that of the user that made the getdataport request. the user must be authenticated and logged in to make a getdataport request. Once the port number is received by the client the connection can be made. The first two parameters in the data stream must be the filename, followed by session id. (note that it only wants the session id not the whole cookie and the "JSESSION=" must be stripped from the text.) If the session number is correct, the upload is allowed, the file is written and xml_documents is updated with the new data file information.

647 01/09/2001 10:57 AM berkley

added support for data file upload via a random, authenticated socket.

646 01/08/2001 05:24 PM bojilova

included "accessfileid" attr in the unique constraint

View all revisions | View revisions

Also available in: Atom