280
Views
2
Comments
How to create directory dynamically?

My target is to create text file dynamically on server

my question is - 

1)How to create Directory dynamically?

2)How to set dynamic path for directory?

3)How to create text file dynamically?

2026-01-19 17-09-56
Carlos Lessa
 
MVP

Harshali Bhangale wrote:

My target is to create text file dynamically on server

my question is - 

1)How to create Directory dynamically?

2)How to set dynamic path for directory?

3)How to create text file dynamically?

Hi Harshali, not sure about dynamically but please check this component if can give any direction on that

https://www.outsystems.com/forge/component-overview/68/filesystem

Best regards

Carlos Lessa


2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Harshali,

Note that your app runs in IIS, and IIS has restricted rights with regards to the access of server (or network) directories. In general, it's seen as undesirable that a web app writes to disk storage (though there are valid use cases of course).

If you are using an OutSystems cloud solution you're out of luck: those environments cannot be written to. You'll need to use cloud storage like Dropbox or Google Drive to store stuff then. If you're using an on-premise installation, you could use the component Carlos linked to.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.