go to post Eduard Lebedyuk · Feb 19, 2019 I don't think it's possible.You can spawn cterm from powershell with ccontrol cterminal ENSEMBLE
go to post Eduard Lebedyuk · Feb 18, 2019 Some general advice:Root directory should be a configurable setting,Before changing config, call NormalizeDirectory method of %File classCheck that directory exists and you can write to itIf it's Ensemble check that Ensemble can write to that directory tooTry to minimize the number of root directories, if you have to have several. It's preferable to use subdirectories.Calculate all subdirectories via calls to SubDirectoryName method from %File classYou should not have slash symbols for directories/files purposes in your code base.
go to post Eduard Lebedyuk · Feb 6, 2019 Are you using EnsLib.FTP.InboundAdapter?Deletion happens after file is processed.What error are you getting?File size absolutely should not affect deletion result.
go to post Eduard Lebedyuk · Feb 4, 2019 Looks like there's a character stream somewhere. You should always use binary streams to upload binary data such as images, PDFs and so on.First of all you need to understand where the problem is: on sending or on receiving.To do that upload PDF using your BO and download it from AWS website manually (using your browser). If you can open downloaded file, then it means that your upload code is correct and the problem is with download code. If you can't open the file it means that you need to check upload code.
go to post Eduard Lebedyuk · Jan 31, 2019 What status does this line return: set sc=conn.Connect("Production","username","password") Can you execute a trivial statement such as: SELECT 1 or (depenting on your target DBMS): SELECT 1 FROM dual or is it the same error?
go to post Eduard Lebedyuk · Jan 25, 2019 You need to do these three steps in order:Compact Globals in a Database (optional)Compact a DatabaseTruncate a DatabaseIn can be done via ^DATABASE utility or in management portal.
go to post Eduard Lebedyuk · Jan 24, 2019 If you have an XSD, it's as simple as importing it and using imported classes.If you do not have a schema, you'll need to either generate an XSD from XML (there are many tools online) or just plain create Caché classes and make them XML-enabled.Documentation:XMLHTTP RequestThat said, is XML really a part of the url?
go to post Eduard Lebedyuk · Jan 24, 2019 Validation process is unable to process the message in 2 seconds. Probably because of the queue.There are several ways to remedy that:1. Increase timeout.2. Make the call ASYNC.3. Increase pool size for Validation process4. Make validation process work faster.
go to post Eduard Lebedyuk · Jan 24, 2019 File selection dialog sorts by file type (extension).I agree that by Name would be better probably.
go to post Eduard Lebedyuk · Jan 21, 2019 Looks like NAT. Cloud server only sees external address (214.17.17) as it should.Why do you want to get internal address?
go to post Eduard Lebedyuk · Jan 8, 2019 In the future please don't combine separate questions into one post.I am looking for a way to detimerine if a certain namespace is ensemble enabled.To check that some <namespace> has Ensemble enabled call: write ##class(%EnsembleMgr).IsEnsembleNamespace(<namespace>) where <namespace> defaults to current namespace. Log some information to the console log file with a certain error level. %SYS.System class provides the WriteToConsoleLog method, which you can use to write to the cconsole.log file.
go to post Eduard Lebedyuk · Jan 4, 2019 Click "Visual Trace" link to view details.In your case there's 403 error, so you're not authenticated.Check this topic for AWS authorization options.
go to post Eduard Lebedyuk · Jan 4, 2019 - If I have a global available in a certain namespace, can I use InterSystems SQL to query those globals? - How do existing globals and creating classes work? Like I have a Person global right now. Can I turn that into a class and manipulate the data that way?You'll need class mapping to query globals via SQL. Check article series The Art of Mapping Globals to Classes by @Brendan Bannon.- I'm used to Java where you can write a class and then write a driver class to test your classes and methods. Or simply just test your newly created classes and methods in the main method (wherever that lies in your code). Is there something similar in Studio? I can write classes but then they are compiled and I have to go to the terminal and test them? Is this where routines come into play in Studio?You can configure Studio or Atelier debugger to run any class method. There's no need to use routines for that.
go to post Eduard Lebedyuk · Dec 19, 2018 Check Dir method of %Net.SSH.SFTP class, it returns directory contents, including sub-directories.