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
17 replies
Subscribers
5 subscribers
Views
8245 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am using SFTP and FTP smart service to transfer the file. When i run the
mohammedz
Certified Senior Developer
over 8 years ago
I am using SFTP and FTP smart service to transfer the file.
When i run the process, both the FTP and SFTP node is getting executed and but document is not transferred to the FTP path
For FTP (Error) : java.net.MalformedURLException: Stream handler unavailable due to: For input string: "22\\\\uswsapt11074\\SMI\\SHARED\\ABC"
For SFTP (Error) : [Appian Work Item - 5639 - ProcessExec02 : UnattendedJavaActivityRequest] ERROR com.appian.ps.plugins.sftpsmartservices.SendFileOverSFTP - Error getting message for code missing.scs.field from bundle SFTPSmartServices.SendFileOverSFTPwithSCSUsernameAndPassword
Attached the logs for reference
Note: Related forum posts on the same doesn't help me much
Logs.zip
OriginalPostID-223520
OriginalPostID-223520
Discussion posts and replies are publicly visible
0
Stefan Helzle
A Score Level 3
over 8 years ago
First issue is: Use forward slash "/" instead of back slash "\\".
For the second issue: Did you create an entry in the secure credential store und used its name in the smart service?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mohammedz
Certified Senior Developer
over 8 years ago
@stefan
Yes i created like in screenshot
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mohammedz
Certified Senior Developer
over 8 years ago
I took the key and stored in a CONSTANT and i am calling the constant in Smart Service
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 8 years ago
Please provide a screenshot of the smart service setup.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mohammedz
Certified Senior Developer
over 8 years ago
External System Key - Constanst (key from SCS)
Use Per User Credentials - False
Server Hostname - Cons!
Server Port -
Remote directory path - Cons! (forward slash)
Document to Send - process variable
I suspect that server path I am mentioning may be wrong. When I open the FTP location this is what I am getting in browse bar
\\\\uswxxxxxxx074\\SMI\\SHARED\\ABC
So in server path how I need to give in constant ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 8 years ago
What application do you use to open the FTP location? Windows Explorer? I suggest to get a dedicated FTP app and try that. This should help you get a better understanding of what the path etc. should look like.
This post might help you:
forum.appian.com/.../e-135553
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mohammedz
Certified Senior Developer
over 8 years ago
@stefanh
Thanks for you valuable response... The post which you is useful .. Let me try out few things as mentioned
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mohammedz
Certified Senior Developer
over 8 years ago
Any Idea wt actually this error means to
java.util.MissingResourceException: Can't find bundle for base name SFTPSmartServices.SendFileOverSFTPwithSCSUsernameAndPassword, locale en_US
Appian Work Itjava.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
Appian Work Itjava.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
Appian Work Itjava.util.ResourceBundle.getBundle(ResourceBundle.java:795)
Appian Work Itcom.appian.ps.plugins.sftpsmartservices.SendFileOverSFTP.getMessageForCode(SendFileOverSFTP.java:200)
Appian Work Itcom.appian.ps.plugins.sftpsmartservices.SendFileOverSFTP.run(SendFileOverSFTP.java:136)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
james.franklin
over 8 years ago
@mohammedz I am still interested in the sftp plugin functionality. Owen pointed out to me that this error. "
java.util.MissingResourceException: Can't find bundle for base name SFTPSmartServices.SendFileOverSFTPwithSCSUsernameAndPassword, locale en_US" relates to the en_us language not being enabled on the host system, I tried to clear the error on my dev server but enabling a new language had a big impact on existing models. So this isn't really an option for me long term. This problem occurred on the send ftp node where as you pointed out before the domain is required (unnecessary for ftp but there we go). Maybe this helps you diagnose your issue but for the time being I consider the send ftp node to be flawed and I am unable to use it. I will be sticking with my own ftp node using the apache ftp library, it's simple and rough but it serves. Hope this helps in some way.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 8 years ago
This can happen if the JAR is missing SendFileOverSFTPwithSCSUsernameAndPassword.properties. The latest version seems to have this file. Can you try installing com.appiancorp.a2.process.runtime.activities.sftp-1.5.1.jar
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>