The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
Kevin_Werner
3 years agoNew Contributor II
WINSCP .filepart extension on SFTP files sent from OneStream
We created Extensibility BRs that leverage WIN SCP commands to send data from OneStream to an internal directory using an SFTP connection setup with OneStream. The data files are being received with...
- 3 years ago
Hello, use this and you won't have the .filepart extension. Thanks
seburn
3 years agoNew Contributor III
This worked for me using WINSCP PutFiles command...
Dim sessionOptions As New SessionOptions
With sessionOptions
.Protocol = Protocol.Sftp
.HostName = "example.com"
.UserName = "username"
.UserName = "password"
.SshHostKeyFingerprint = "ssh-rsa 2048 ..."
End With
Using session As New Session
session.Open(sessionOptions)
session.PutFiles("C:\local\path\*.csv", "/remote/path/*").Check()
End Using
- seburn3 years agoNew Contributor III
Snippet sourced from stackoverflow
https://stackoverflow.com/questions/48556236/upload-file-to-sftp-server-using-vb-net
Related Content
- 4 months ago