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
8 replies
Subscribers
5 subscribers
Views
4121 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Seeking help with the SFTP Functions plugin: I am trying to send a file using th
james.franklin
over 8 years ago
Seeking help with the SFTP Functions plugin: I am trying to send a file using the "Send File Over FTP" smart node. I have tried many combinations and there is no clue as wht this fails in the application server log.
I have configured the External System Key with username and password (both tested and valid values), set the host name (same as used and test with in filezilla), set the port to 21 and remote path to "/". The document is named as 1-123123.zip.
Despite various tweaks and changes to the settings nothing has helped, most errors returned "illegal filename for a PUT" which seems odd as I can upload the same file with filezilla no problem.
Any suggestions welcome!
Thanks from a frustrated user.
OriginalPostID-221266
OriginalPostID-221266
Discussion posts and replies are publicly visible
0
mohammedz
Certified Senior Developer
over 8 years ago
@james
System requirements:
1) Your remote server path should be exposed to SFTP i.e., it should be SFTP enabled
To get to know this place some file in remote location path and run the below command
sftp
It will show path is ftp enabled or not
2) you need to generate key in secure credentials store ... u need to add following fields over there
username (target user)
Password (target pwd)
Domain ( if u local machine or SharePoint or ur server has any domain u need add that as well )
If it 16.1 or more there will we a button "Test connection" to check connection from admin.Once this done appian will generate a key, store the value of key in a constant
In the smart service you need to pass the key , target hostname , port , Document u need to send , destination remote file path.. Once done if you trigger a process model file will get transferred.
To transfer files to local machine I believe you need to install a local FTP in your machine.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mohammedz
Certified Senior Developer
over 8 years ago
forum.appian.com/.../e-219848
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
james.franklin
over 8 years ago
Hi Mohammed, Thank you for the post, I have already checked over this article though and it appears to relate to SFTP. The only difference is the mention of using domain in the secure credentials, which I have tried but still no connection.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mohammedz
Certified Senior Developer
over 8 years ago
James when u hit test connection is it coming as test connection succeeded ??? I mean in secure credentials store..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
james.franklin
over 8 years ago
No it isn't but I don't have an expression to test it with.
I will try a new setup and check results.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
james.franklin
over 8 years ago
Hi Mohammed, I think this may solve the problem:
forum.appian.com/.../
. reference to the comment from Owen on user locale.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mohammedz
Certified Senior Developer
over 8 years ago
@james
I had a similar problem but after try connecting through domain it got succeeded and I was able to place the file in external remote place .... just let us know if ur issue gets resolved
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
james.franklin
over 8 years ago
@mohammedz You are correct, adding domain has resolved the initial problem but has served to highlight a new issue. The smart node generates an exception: java.io.IOException: illegal filename for a PUT. I suspect this has something to do with the folder settings on the target ftp server but I am having difficulty finding the root cause.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel