Session.GetFiles Method failed to copy in the local server
I was trying to sync the local server with the remote server using WinSCP library in .NET C# environment (Assembly WinSCPnet, Version=1.5.3.8172, Culture=neutral, PublicKeyToken=2271ec4a3c56d0bf), using the method called
But what happens
method below was used:
Note
GetFiles()
in Session
class.
But what happens
GetFiles()
method detects the modified files, but it does not transfer the file from the remote server to the local server. I don’t understand the reason. Has any of you experienced this problem, if so how you resolved this.
method below was used:
transferResult = s.GetFiles(ps.f_remote, ps.t_local, false, transferOptions);
transferResult.IsSuccess
was set and transfer count was nonzero, but no file was copied in the local server. Do you have any idea why it fails to copy in the local server?