Questions Tagged With filehttps://answers.axonivy.com/tags/file/?type=rss&user=Geraldquestions tagged <span class="tag">file</span>enTue, 21 Nov 2017 08:06:27 -0500Temporary file is not stored in a session subfolderhttps://answers.axonivy.com/questions/2993/temporary-file-is-not-stored-in-a-session-subfolder<p>Hi,</p> <p>we are using the ch.ivyteam.ivy.scripting.objects.File object to create a temporary file, which we want to use as a source for a stream. This seems to work fine and we have no troubles in our development environment. </p> <p>In our productive environment, however, we expierence sometimes a "file not found" exception. As far as I know, the temporary files should be stored in a temp folder like /files/sessions/{sessionID}/ .</p> <p>In our environment, these files are not in a session subfolder but can be found directly in the folder /session/tempfileXYZ. We therefore assume that whenever we close a session, the whole tempfolder is deleted, which will result in our "file not found" exception for other users.</p> <p>Is there any way to enable that files will be stored in session folders again?</p> <p>Thx,</p> <p>Gerald</p>GeraldTue, 21 Nov 2017 08:06:27 -0500https://answers.axonivy.com/questions/2993/temporary-file-is-not-stored-in-a-session-subfolderfile