not sure if anyone can help. I am programming using a language called AutoLISP....based off of LISP but with a few extras. It is used inside a program called AutoCAD.
Anyway, I have some code that can read from a text file on a web server, but I want to know how to write to the file too.....if possible.
This is what I have to read the file:
(defun c:read ()
(setq server "http://example.com.au/Folder/")
(setq SetFile "testpost.txt")
(setq Filepath (strcat server SetFile))
(setq xml (vlax-create-object "MSXML2.XMLHTTP.3.0"))
(vlax-invoke-method xml 'open "POST" Filepath :vlax-false)
(vlax-invoke-method xml 'send)
(setq strSunday (vlax-get-property xml 'responsetext))
)
Any ideas how to use the code I have to write back?
Thanks