Topic "How to do "keepuptodate" with .NET assembly?"

Author Message
giaco777
[View user's profile]

Joined: 2012-07-24
Posts: 1
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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
There's no equivalent in the assembly.
_________________
Martin Prikryl
ngmunfye
[View user's profile]

Joined: 2012-12-17
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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Yes, but you need to have two sessions opened for that.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License