Questions Tagged With filehttps://answers.axonivy.com/tags/file/?type=rss&user=docvominhquestions tagged <span class="tag">file</span>enFri, 22 Nov 2019 06:23:15 -0500Temporary file got overridehttps://answers.axonivy.com/questions/4183/temporary-file-got-override<p>Hi Fold,</p> <p>I got an issue with <code>ch.ivyteam.ivy.scripting.objects.File</code>.</p> <p>When our Ivy application receive a file via SOAP with the same name all the time Ex: Information.html</p> <p>We create a temporary file </p> <pre><code>ch.ivyteam.ivy.scripting.objects.File file = new ch.ivyteam.ivy.scripting.objects.File(path,true) </code></pre> <p>The problem happens is when 2 requests come at the same time, the second temporary file overrode the first one.</p> <p>Is there any way to avoid it without change file name? or add subfolder (caseId) like IDocumentService in temporary file?</p>docvominhFri, 22 Nov 2019 06:23:15 -0500https://answers.axonivy.com/questions/4183/temporary-file-got-overridefile