87
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?

Rank: #193

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


mvp_badge
MVP
Rank: #2

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.