Forum Discussion

MZ's avatar
MZ
New Contributor III
5 months ago

Outbound Files through SIC Using UNC

Need some ideas on how to out bound files from OS shared folders to a network driver using UNC through SIC (we are upgrading to 8.2 from 7.3). We have SFTP through SIC works already, however, this specific process cannot be replaced by SFTP at this time. I have seen discussions and recommendation about inbounding through SIC only.

  • atalecki's avatar
    atalecki
    New Contributor

    I have been able to take a file from the OneStream fileshare and transfer it to an on-prem file share.  Remote SIC business rules are required for this.  I converted the file to a KeyValuePair(Of String, Byte()), and added a key value pair parameter to the SIC remote business rule.

    Inside of the remote SIC function, I then used the File.WriteAllBytes("filePath", byte()) function to write the file to fileserver share.  

    • MZ's avatar
      MZ
      New Contributor III

      Thanks! We got some helps from OneStream remote consulting. The final solution is similar to what you mentioned that compressed data bytes passed over the SIF function as an argument.