I am using "Get remote directory contents Over SFTP" service. and it it works good for one file.
But when there are multiple files in source folder, it doesn't work. It just shows the semicolon separated names of files in destination folder and thers no actual file.
Thanks,
Pooja
Discussion posts and replies are publicly visible
Make sure your target PV is defined as multiple
Carlos Santander yes. PV is defined as multiple.
I can see the semicolon separated filenames in my destinaltion folder (knowledge center) but I am unable to download the file.
1. Screenshot of PV as multiple.
2. Semiclon separated file names in KC
It looks like there's a bug somewhere. A proposed path forward is:
Thanks for your reply.
Here is what we have implemented
1. Appian is the destination which is receiving files from another application using SFTP.
2. Appian public key has been installed on that (source file application) sever.
We are not actually using any SFTP server here.
Hi pooja.sudarshan
I know this thread is old but were you able to get a solution for above issue. I am also facing same issue.
Thanks.
well 'Get remote directory contents Over SFTP' will give you only file names and using those file names in process model, you should be able to get actual files using 'receive file over SFTP' service.
sameerh5846 said:were you able to get a solution for above issue
AFAIK the original issue described here was a few different errors on the OP's end during development - at some point they transformed the array of remote filenames in the path into a single string, and then attempted to use that to receive the sFTP file (i assume).
This should be very easy to sidestep as long as values are handled correctly. i.e., the list of remote directory filenames should be treated as an array. Anyone used to working with Appian variables should be able to do this fairly easily. I implemented an sFTP transfer system using the plug-in just a few weeks ago and had no particular issues with any of this - if you're having some specific problem, you need to post your details (what you've tried, what happened different from what you were expecting, etc).