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
6 replies
Subscribers
7 subscribers
Views
2472 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Anyone know if it's possible (i.e. existing plugins, or if a plugin can be c
peterk
over 10 years ago
Anyone know if it's possible (i.e. existing plugins, or if a plugin can be created) to upload files to a local or network drive directly w/o having to FTP from within a process? The only plugins I see use FTP/SFTP/SCP protocols. Thanks!...
OriginalPostID-117750
OriginalPostID-117750
Discussion posts and replies are publicly visible
0
Bishnu Panigrahi
Appian Employee
over 10 years ago
Check out the Appian Collab / Filesystem Utilities plugin.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterk
over 10 years ago
Thanks Bishnu. Any idea on the format of the inputs? I've tried plain and wrapping quotes, but neither work... I'm only filling out Destination and Documents, as I'm assuming Folder is to move a folder. For Destination, I've tried:
="\\\\rmsdevdesk13\\c$\\Test\\Temporary"
\\\\rmsdevdesk13\\c$\\Test\\Temporary
\\\\\\\\rmsdevdesk13\\\\c$\\\\Test\\\\Temporary
But I get the following nullpointerexception:
18:01:15,250 INFO [stdout] (default-threads - 11) 2014-07-30 18:01:15,249 [default-threads - 11] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=43584, classname=com.appiancorp.sales.localfiles.MoveToFilesystem
ppian@dcmdevapp0:/appian/bin/jboss/jboss-eap-6.2/bin> 18:01:15,250 INFO [stdout] (default-threads - 11) 2014-07-30 18:01:15,249 [default-threads - 11] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=43584, classname=com.appiancorp.sales.localfiles.MoveToFilesystem
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Bishnu Panigrahi
Appian Employee
over 10 years ago
When I used it I put the destination in a constant (ex. cons!AAA_SHARED_DRIVE_LOCATION). The value of the constant would be \\\\rmsdevdesk13\\c$\\Test\\Temporary.
Documents would be your array of documents that you want to move over.
Folder is blank
Remove After Copy is False
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
elizabeth.epstein
over 10 years ago
Per this post, someone was able to use the plugin with a Windows Fileshare directory.
forum.appian.com/.../b-19595
Bishnu is correct that the input is a string type. Keep in mind Java treats string backslashes differently, so if it's a Windows filesystem you could try replacing them with forward slashes, or try replacing each backslash with a double-backslash.
docs.oracle.com/.../File.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterk
over 10 years ago
Thanks Bishnu. I've saved the Destination into a constant, and the node executes successfully - with one issue.
The constant's value is set to: "\\\\rmsdevdesk13\\c$\\Test\\Temporary".
I wasn't seeing the file in the folder, so I saved the output into a PV (i.e. /appian/bin/jboss/jboss-eap-6.2/bin/\\\\rmsdevdesk13\\c$\\Test\\Temporary/file.txt). So, I looked in the Appian install, and there was a folder created under /appian/bin/jboss/jboss-eap-6.2/bin called, "\\\\rmsdevdesk13\\c$\\Test\\Temporary", inside it my file.txt file.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterk
over 10 years ago
FYI, the Appian install is on Linux, and we would be writing to a Windows filesystem.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel