Store files outside the database

Hello,

In Reactive:

How to upload a file to a specific server, not by binary content, but by storing the path?

Thanks.

Gustavo Lemos

Hi Gustavo,

Check out this Forge component.

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

Regards,

Nordin

Nordin Ahdi wrote:

Hi Gustavo,

Check out this Forge component.

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

Regards,

Nordin

Hi Nordin,

I will look into it. My app is in Reactive, that component is for Traditional Web. 

Thank you.

Regards,

Gustavo


Hi Gustavo,

If you want to store files on a server, you'll need to go via the server anyway. There's absolutely no way, other than download + manual save, that a web browser can transfer files anywhere. So you'll need to use Server Actions anyway, and therefore that component is fine for your purposes (it also supports specifying username/password in case you need to impersonate another user for saving the files).

Hi Kilian,


So, it allows me to store in the databse only the path to the file?


Thank you.

Regards,

Gustavo

Hi Gustavo,

I'm not sure I understand. You can store whatever you like in the database. The problem is storing the files on the network drive.