go to post Lucas Cristofolini · Apr 25 I believe you'll have to set it manually because the value of $HOROLOG refers to the machine running the IRIS instance. You'll need to set the $ZTIMEZONE to your local time zone.
go to post Lucas Cristofolini · Apr 25 Hi @Yuhong Snyder I think this documentation can help, TimeZone Command: $ZDATETIME($HOROLOG,8,5) Output: 20240425T15:29:09-03:00 The -03:00 is because I'm in Brazil, daylight saving time is automaticIf you want to know if the time is in daylight saving time or not, you can use the $SYSTEM.Util.IsDST(TimeStap).
go to post Lucas Cristofolini · Mar 13 I saw the #Ensemble tag, so I thought you were using a Business Operation. Another thing I noticed is that you are not setting the server port that will be called.
go to post Lucas Cristofolini · Mar 12 Hello @Rochdi Badis Are you using the HTTP adapter? If so, try using the ..Adapter.SendFormData(.tHttpResponse,"POST",tHttpRequest,,,tURL) method. Your URL will be your server concatenated with the path, which in your case you are setting directly in the POST method.
go to post Lucas Cristofolini · Feb 28 Hello @Shashvati Dash After you retrieve, you can save the file creating a %Stream.FileBinary and change the FileName to your directory in local FileSystem, Set tStream = ##class(%GlobalCharacterStream).%New() $$$THROWONERROR(tSC, ftp.Retrieve(file,tStream)) Set tFile = ##class(%Stream.FileBinary).%New() Set tFile.Filename = "D:\"_file Do tFile.WriteLine(tStream.Read()) Do tFile.%Save() Set tSC = ftp.Logout()