Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
11 replies
Subscribers
5 subscribers
Views
4569 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I need to copy some folders with subfolders and files from File System into App
guozhangy
over 9 years ago
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
0
guozhangy
over 9 years ago
The Move to File System of the same plugin can only copy the file from Appian to File system, it seems it can't copy the folder (with sub folders/files) from Appian to the File System.
Does anyone have solution? Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
You will need to update the plug-in to do that. The plug-in comes with the source code, therefore if you have someone in your team with a Java background he/she can do it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chandhinir
over 8 years ago
Hi Eduardo,
We have used Move to File System smart service to move the appian document to the file folder and getting the output doc from file system once the document is processed. The issue is that the polling is occuring for the old documents but not to the document which moved to file system today.It was working fine till last week.
Any suggestions why does the polling not occur for the new files?
Thanks in advance!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 8 years ago
What do you use for the polling?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chandhinir
over 8 years ago
Poll Filesystem Folder smart service is used
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 8 years ago
Any errors in the logs?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chandhinir
over 8 years ago
I think that the logs are not related to the issue. But attached the latest log entries. Thanks!
logs.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 8 years ago
-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"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chandhinir
over 8 years ago
Ok.Thanks Eduaro! We will fix the search server issue .I have configured the Poll filesystem data inputs properly because the same configuration was worked last week.We are facing this issue since yesterday.
Will the server restart fix this issue?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 8 years ago
That would be a good idea to try.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>