check modify file to upload with out winscp C# code with out winscp dll for upload new file folder
SessionOptions sessionOptions = new SessionOptions
{
Protocol = Protocol.Ftp,
HostName = "ftpserver",
UserName = "user",
Password = "password",
};
using (Session session = new Session())
{
// Connect
session.Open(sessionOptions);
// Download files created in 2017-06-15 and later
TransferOptions transferOptions = new TransferOptions();
transferOptions.FileMask = "*>=2016-01-01";
transferOptions).Check();
session.PutFiles(@"d:\toupload\*", "/", false, transferOptions).Check();
}