Re: SFTP and LoopFiles - WeOnlyDo Discussion board

Re: SFTP and LoopFiles (General questions)

by wodDamir, Wednesday, March 04, 2009, 13:25 (5744 days ago) @ Premal

Premal,

All you need to do is this:

[code]sftp1.ListAttributes( /your/path );[/code]

And do this in AttributesData Event:

[code]void sftp1_AttributesDataEvent(object Sender, WeOnlyDo.Client.SFTP.AttributesArgs[] Args)
{
Console.WriteLine(Args.Length.ToString());
}[/code]

That's all the code you need, besides the connecting part. Can you please try that?

Regards,
Damba


Complete thread: