does anybody know how is it possible to show Directory List via SFTP ?
Later I want to put the file List on a DataGrid, and pick the hilited Line to upload/download Files from my Raspberry.
I have a Indy License...
Code: Select all
local tResult, tCmds
put "ls" into tCmds
put tsNetSendCmd("1", "sftp://pi:Wuppertal2019@192.168.178.31", tCmds,"transferComplete") into tResult
put tResult into fld "Ausgabe"
tsNetCloseConn "1"
Can anybody help me to find a solution?
Regards
Michael