Hi!
Thanks for your code, but I tried it and can't get a file in the directory in the end. In order to get it working, I had to call the method %Save() before the %Close() one:
...
d file.CopyFrom(request.HttpResponse.Data)
d file.%Save()
w file.%Close()I found that by this article by @Gevorg Arutiunian: https://community.intersystems.com/post/save-file-using-nethttprequest
- Log in to post comments
.png)
.png)