Loading file from webserver

Discuss and ask questions about ABViewer.

Moderators: SDS, support, admin

Post Reply
lstosik
Posts: 1
Joined: 04 Nov 2013, 19:32

Loading file from webserver

Post by lstosik » 04 Nov 2013, 19:43

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?

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Loading file from webserver

Post by support » 05 Nov 2013, 11:25

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.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply