Innov-AI
    Documentation | MentDB Weak Server
List a folder from a FTPs connection

  • To list a folder from a FTPs connection:
  • Double click on your remote directory 'remoteDirectory_ftps'
  • 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\"
      }
    ]";
  • Load the JSON and parse it to get data...
Services     Supporters     Contact     About     Legal notice © 2024