November 10, 2008, 04:59 PM
MacLonghornStingray:
With the new MRE, there's a file upload feature but it's not an end user tool, really. Question is: Is there now a FileUpload function that's exposed that we can take advantage of without having to install one of those servlets you mentioned?
November 11, 2008, 04:39 AM
Danny-SRLDKWAN,
Is this supposed to be a service that you want to extend to your users, or is it part of an application which needs the data from your user's PC?
What type of file? NOTEPAD? EXCEL?
November 11, 2008, 11:29 AM
MacLonghornOnce a month, users need to upload a tab delimited file within MRE which will then be inserted to SQL Server. I've got the bulk of the process covered, except for the file upload/save. I've seen the MRE file upload but it's not really made for the end user as it makes you create a MFD. I thought since that was added, there might be an API to allow file uploads.
November 11, 2008, 03:41 PM
WazWhat is the format of the file to be uploaded and what is going to happen to it ?
November 11, 2008, 04:40 PM
MacLonghornWaz
I appreciate your response, but if you read my post, you will find the answer. At this point, I simply am trying to upload a file to the server and save it wherever I want, probably in the apps directory.
November 12, 2008, 04:22 PM
WazMark, sorry, but I am a bit confused, the original post was from DKWAN, is this the same issue ?
As for the Tab delimited file, I wrote the original upload routine, and many of its functions and options were discarded when it was IBI'ified, it would allow you to re-execute a previous load with just a call. Unfortunately it is written for V5.2 and uses several ActiveX objects.
I personally think that a jsp to upload the file is the easiest. I have written one myself for the same reasons, the important thing is to have a simple process for the users to follow.