How to do "keepuptodate" with .NET assembly?

Advertisement

giaco777
Joined:
Posts:
1

How to do "keepuptodate" with .NET assembly?

Hi,

I am a newbie in WinSCP programming. Perhaps this is a stupid question, but:

how can I obtain the same functionality like the command "keepuptodate" when using the .NET assembly?

Kind Regards
Giaco777

Reply with quote

Advertisement

ngmunfye
Joined:
Posts:
8

1 Question.

We can use this in C# .Net coding like this

winscp.StandardInput.WriteLine("option batch on");
winscp.StandardInput.WriteLine("option confirm off");
winscp.StandardInput.WriteLine("open AutoFTP1");
winscp.StandardInput.WriteLine("keepuptodate " + monitorPath + " " + fullPath + " -filemask=\"*.rle,*.res,*.log,*.tar|*.txt\" ");

Can we use above coding and combine Winscp .NET assembly to check folder exist in remote path or logfile and etc?

Reply with quote

Advertisement

You can post new topics in this forum