ftps disconnect all; ftps connect "session1" {cm get "demo_cm_ftps";}; if (is not empty "") {ftps parse pbsz "session1" ;}; if (is not empty "") {ftps exec prot "session1" ;}; if (0) {ftps active "session1";}; if (0) {ftps passive "session1";}; if (is not empty "remoteDirectory_ftps") {ftps cd "session1" "remoteDirectory_ftps";}; -> "[result]" (ftps ls "session1" ".*.*"); ftps disconnect "session1"; [result];
"[
{
\"name\": \"filename.txt\",
\"size\": \"255\",
\"isDir\": \"0\",
\"lastModified\": \"2023-08-06 06:56:29\"
}
]";