read xlsx file from sftp server in c# . code in .net core
Loading
read xlsx file from sftp server in c# . code in .net core
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Leon DPosted Oct 17, 2025, 11:28 AM
You can read an
.xlsxfile from an SFTP server in C# using Free Spire.XLS for .NET by combining an SFTP client library (like SSH.NET) to download the file into a stream, and then loading it into aWorkbookobject.Before getting started, install the required libraries:
Here’s a complete example:
Prasad RaveendranPosted Oct 17, 2025, 1:59 AM
check whether this code can be used