ulrich.fuchs
10th June 2014, 18:40
Hello guys,

at a customer system I have a very strange behaviour of the function client2server when the user works with webtop. The file gets transferred to the server, however the function returns -1, indicating an error.

Same session with same user under worktop works fine. It's an 8.8 porting set with a 7.6 a8 tools version and a 10.10 Webtop.

I do find nothing in the Infor knowledgebase. Did anyone else encountered that phenomenom, too? Any ideas what could cause this?

any input greatly appreciated,
Uli

bhushanchanda
11th June 2014, 10:43
Hi Ulrich,

How are you using client2server() ?

Try using this piece of code:-

exec_dll_function( "ottdllbw" , "server2client" , ret, source_file, destination_path, 0 )

baan_guru
16th June 2014, 14:07
Hi Uli,

Give a try to 'client.upload.file' function.

This should work in WebUI.

RieseUSA
17th June 2014, 03:50
Ulrich,

We had the identical problem with WebUI 10.5 AP0082, but Infor fixed it in 10.6 BL0074.

I have just tried, if it is broken again, but it worked fine with 10.11 GU0029.

What build of 10.10 have you been using?

Note, it should be unrelated, but the programmers guide list "#include <bic_desktop>" as the include to be used for the client2server() function. Bhushan's code shows 'ottdllbw', which was the old library, but still seems to work.

Yours,
Stephan