Question Fabio Care · Nov 14, 2022 Image Download from URL Hello, I'm currently struggeling with a HTTP request to a URL, which contains an jpeg image file. Testing the request with a browser or Postman results in the image being shown normally. Using a %Net.HttpRequest with different configurations has resulted in a corrupted file. My code works for some URLs from other servers perfectly fine, but with some it produces corrupted file contents which do not represent a jpeg. #Data Import and Export #Caché 0 5 0 475
Question Fabio Care · Sep 28, 2022 Increase amount of read operations Hello, First the question then the background: Can you increase the amount of read operations that are being performed simulatiously to the hard drive where the cache.dat file is located. Alternatively: Can you increase the amount that is being read with every operation? Background:The database is setup with 8k blocks of data that are being read. I'm currently struggeling with a bottleneck concerning the read operations from a disk. #Management Portal #Caché 0 3 0 259
Question Fabio Care · Jul 27, 2022 Problem converting Image to Base64 Hello all, i am currently struggling following the instructions for reading an image file into the database as a base64 string. My goal is to save an image into a global as base64. I followed different guides like: https://community.intersystems.com/post/how-save-png-image-cache-base64-... https://community.intersystems.com/post/how-save-fileimage-some-specific... #Caché 0 5 0 476
Question Fabio Care · May 25, 2022 %File Delete not Working Hey there, I'm writing an import Routine to read files into a global. The code is working fine except for the 'Delete' command. The files are being imported, copied but not deleted. Maybe someone has an Idea what ist happening. I get the low level return value of -32 but i couldn't find anywhere to show me what that actually means. And my Caché version doesn't support the $ZU command. Here's the Code #Data Import and Export #Caché 0 7 0 602
Question Fabio Care · Mar 29, 2022 Compare .mac /.int routines and show differences Hello, I'm currently working on a custom version control implementation. I'd like to show differences between a copy of a previously saved routine as a merge of the ^ROUTINE Global and the current version of that same routine. I've found legacy Documentation for %RCMP which does the trick in the terminal but I'd like a similar result stored inside a variable. I also want to show differences, not only see if they are the same or not. The management portal has that exact feature, so maybe someone can direct me to the function that is being used there. #Management Portal #ObjectScript #Caché 0 19 0 772