I need to copy some folders with subfolders and files from File System into App

I need to copy some folders with subfolders and files from File System into Appian Document, I'm using Appian Collab / Filesystem Utilities to do that. It works fine and the whole folder structure is copied. But I also need the folders to be deleted after the coping job is done. I set Remove after Copy flag to true, but it only deletes all the files from the file system and leaves all the folders/subfolders behind. Does anyone know what can be done to achieve this?

On a side note, The Appian Document from Designer View has a Batch Upload, which will load a ZIP file into the Appian and unzip it. Is there a way to use Smart Service to load a ZIP file into Appian and unzip automatically?

Thanks in advance.

OriginalPostID-140698

OriginalPostID-140698

  Discussion posts and replies are publicly visible

Parents
  • -No errors in the logs related to this smart service
    -By the way your search server is not running. You should fix this
    -The logic of "PollFilesystemFolderActivity.java" is pretty straightforward and makes use of a library org.apache.commons.io.FileUtils, so I don't think this is a problem with the smart service itself.

    I suggest you review it's properly configured since it takes several inputs that are used for the polling including "modifiedTimeFilter"
Reply
  • -No errors in the logs related to this smart service
    -By the way your search server is not running. You should fix this
    -The logic of "PollFilesystemFolderActivity.java" is pretty straightforward and makes use of a library org.apache.commons.io.FileUtils, so I don't think this is a problem with the smart service itself.

    I suggest you review it's properly configured since it takes several inputs that are used for the polling including "modifiedTimeFilter"
Children
No Data