How to read (open) a file from a website

Discussion in 'AutoCAD' started by Chris Lovelock, Dec 8, 2004.

  1. Anyone know if it's possible to read a file from a website using the LISP
    OPEN command?

    I'd hoped something like...

    (open "http://www.cadlib.co.uk/webtest.txt" "r")

    ....would work, but it doesn't.

    Any ideas? Any other ways of doing this?

    Cheers, Chris
     
    Chris Lovelock, Dec 8, 2004
    #1
  2. Chris Lovelock

    Paul Turvill Guest

    You'd be well advised to download the file first to your local hard drive.
    ___
     
    Paul Turvill, Dec 8, 2004
    #2
  3. Chris Lovelock

    murrayc Guest

    Why not just use a HYPERLINK?
     
    murrayc, Dec 8, 2004
    #3
  4. That's not quite what I'm looking for a it's the web page that's generating
    some information that we want to pull back into AutoCAD to put in a couple
    of attributes in a block.

    Thanks for the suggestion!
     
    Chris Lovelock, Dec 15, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.