50
Views
4
Comments
[FileSystem] Is FileSystem working in OutSystems Cloud to On-prem File Share?  Using UNC path?
Forge component by João Portela
33
Published on 21 Feb 2019

Dear team,

Could you please clarify the following points in regards to FileSystem forge component as it is unclear from the discussions and responses:

  • Is the component working in OutSystems 11 cloud to on-premises servers (VPN is configured of course) ?
  • Is the component working using UNC paths \\servername\share or does the share have to mapped as a network drive, which is of course not possible in OutSystems cloud ?

Thank you, Stefan


mvp_badge
MVP
Rank: #19

Hi Stefan,

I'm not part of the team, but from other posts on this support forum, it seems that both your questions have YES as answer.

  • The component does work in OutSystems 11 cloud to on-premises servers via VPN (there's also user impersonation capabilities as mentioned here).
  • And from this post, UNC paths seem to be equally supported.

I've reached out to the team directly to get a more definite answer for you.

Cheers!

mvp_badge
MVP
Rank: #5

Hi Stefan. No, it doesn't work, you can find some discussion on this other component that had a similar feature: https://www.outsystems.com/forums/discussion/42390/outsystems-11/#Post158171


You can try using a component that I have created myself to overcome this problem: https://www.outsystems.com/forge/component-overview/8194/shared-folder

Rank: #50874

Thank you both for your answers. 

As SMB protocol is no longer supported since OutSystems 11 there is not really a viable option to connect to network shares.  CIFS protocol is using SMB1, current Windows server versions support SMB3+. Older version are not recommended due to security risks.

We see no other option but to use SFTP server to address this.

mvp_badge
MVP
Rank: #5

Hi Stefan, that's a good point and I wasn't aware it had been discontinued.

I could not find any .NET library supporting SMB 3, but it looks like there is one for SMB 2.1: https://www.nuget.org/packages/SMBLibrary/

You might want to check if it works for you. If it does, consider joining the team of Shared Folder forge component, and contributing a new version.

Thanks.