Page 1 of 1

Loading file from webserver

Posted: 04 Nov 2013, 19:43
by lstosik
I am trying to load DWG file to ABViewer. After sending:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="1">
    <!-- Load file -->
  <load file="http://127.0.0.1:8080/ton.dwg"/>
</cadsofttools>
I get an error message:

Code: Select all

<cadsofttools version="1">
  <error message="File is not found: http://127.0.0.1:8080/ton.dwg"/>
</cadsofttools>
There is no attempt to connect server at all. Using FileName param with ActiveX object like in http://www.cadsofttools.com/forum/viewt ... =16&t=1961 also doesn't load the file. Is this supported at all or does ABViewer/CADViewX only work with local files?

Re: Loading file from webserver

Posted: 05 Nov 2013, 11:25
by support
Hello!

The current ABViewer version doesn't support loading files from web server via XML API, however, it's possible to load such files using ABViewer menu (File -> Open...).

The possibility to load files from web server via XML API will be added in the next release of ABViewer.


Mikhail.