The problem is related to webspeed. The problem is
I want to upload image(s) from client machine to Unix server.
I do not know how can i do this. If anybody knows about it, please help me.
I am using Openedge 10.1B.
I am using the following code,
DEFINE VAR mFile AS MEMPTR NO-UNDO.DEFINE VAR cfile AS CHAR NO-UNDO.ASSIGN mFile = get-binary-data(input field-name).IF mFile <> ? THEN DO:ASSIGN cfile = "/home/user/a.jpg".COPY-LOB FROM mFile TO FILE cFile NO-CONVERT.END.
but it is not working properly.
Any idea would be appreciated.
With webspeed only text file upload is supported, not binary.
If you want to upload images you can use the buildin apache php.
Binary file uploads are supported in V10.1A and above.