This is an old revision of the document!
SFTP file transfers in .Net
This guide describes how to implement SFTP transfer in .Net application using WinSCP.
WinSCP is SFTP client with scripting interface that you can use to automate many operations that it supports, including file transfers, synchronization and other operations. So WinSCP is not a library (e.g. .Net assembly) that you can call directly. Though this guides shows you how to use it seamlessly from the .Net code.
Advertisement
Before starting you should:
- Have WinSCP installed;
- Know how to connect to your FTP/SFTP account;
- Know what WinSCP scripting commands to use for your task (e.g. file transfer).
Example C# Code
TODO