on 04-09-2009 9:24 AM
Hi,
I searched but could not find an answer...I am working on a program that itseems worked till the last few days...not sure why it stopped working suddenly. I was able to fix it now, but am wondering how to retrieve the old attachments uploaded using this app.
This BSP app is used to store documents.
Step-1:Simple BSP form upload. In the event handler, the cData is read using cl_http_entity->get_cdata. This is stored in a table as a string along with filename, file type etc.
Step-2: To download the document from Step-1, the string from Step-1 is converted to xstring using SCMS-STRING-TO-XSTRING and then the response is set using:
runtime->server->response->set_data( data = lxstringdata length = xstrtlen ).
This no longer works - it gives garbage data...
I converted it to read binary data while uploading (cl_http_entity->get_cdata) and it works fine now - but any idea on how I can read the files that have been created so far? I was told that it was working atleast a few days back..
Thanks in advance.
JH
Any help from the gurus?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.