Hello!
We need to ask for your help. We want to include a Button in a Power Builder application that can allow users to upload files, for wich we are trying to execute 3 functions from the object AppeonFileService from the Workaround library.
The functions are:
of_logonfileserver()
of_appeonupload()
of_logoffileserver()
We completed the Deploying Appeon File Server to IIS, and now we are trying to execute the first function (of_logonfileserver()) using the example Script that you suggest in the APPEON ONLINE HELP CENTER, the Script is the following:
long ll_re
string info
ll_re = fileservice.of_logonfileserver ("192.168.168.52", 80, "username=userA;password=userA")
if ll_re = 0 then
info = "Logon to file server is successful."
elseif ll_re = 1 then
info = "Failed to connect to the file server."
else
info = "Failed to connect to the file server."
end if
Messagebox( "ll_re="+string(ll_re),info)
Then, when we try to execute it (after changing the IP address), the value ll_re is always 1 (Failed connection). Looking on the internet, we found a response from you to a similar problem suggesting to try on IE the following URL:
http://192.168.168.18:80/fileservice/fileservice.aspx
We use instead of the IP the root of the project and obtained the next error message:
Appeon.FileService.Util.ParseException: No se puede leer más allá del final de la secuencia. en Appeon.FileService.Parser.parse(Stream inStream) en Appeon.FileService.FileServiceExecutor.execute(HttpContext Context)
And this is what we would like to ask you if you know what can be causing the problem or if there is something that we are not doing that generates the error or anything else that you can tells us that could help so we can connect to server so we can continue with the other 2 functions.
Please let us know if there is any aditional information that we can provide.
Regards, Constanza.