Re: ListDirData Event - WeOnlyDo Discussion board

Re: ListDirData Event (General questions)

by wodDamir, Wednesday, December 22, 2010, 11:27 (5086 days ago) @ David Lucas

David,

Please try the following in C Builder:

[code]Dim out As String

If NamesOnly = False Then
out = -rw-rw-rw- 1 root root 67745 Sep 2 2007 test.txt + vbLf
out = out + -rw-rw-rw- 1 root root 43343 Dec 16 12:57 test.html + vbLf
Else
out = test.txt + vbLf
out = out + test.html + vbLf
End If

DirData = StrConv(out, vbFromUnicode)[/code]

It works in SFTP for me.

Regards,
Damba


Complete thread: