Loading file from webserver

Discuss and ask questions about ABViewer.

Moderators: admin, support, SDS

Loading file from webserver

Postby lstosik » 04 Nov 2013, 16: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/viewtopic.php?f=16&t=1961 also doesn't load the file. Is this supported at all or does ABViewer/CADViewX only work with local files?
lstosik
 
Posts: 1
Joined: 04 Nov 2013, 16:32

Re: Loading file from webserver

Postby support » 05 Nov 2013, 08: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
support
 
Posts: 2631
Joined: 30 Mar 2005, 08:36


Return to ABViewer

Who is online

Users browsing this forum: No registered users and 1 guest

cron