0 Replies Latest reply on Aug 14, 2013 9:59 PM by Cory

    Can I read a remote sFTP directory using PeopleCode?

    Cory

      I have a sFTP URL Definition setup and I wanted to know if I can use that URL Definition and read a directory on it using PeopleCode?

       

      I wont know the filenames that will be placed out on that sFTP so I want to read it and then GetAttachment once I know the filename. 

       

      I wondered if FindFiles would work where I could pull it back in an Array?

       

      &FNAMES = FindFiles(URL.SERVER123 | "*.txt");

       

      Anyone ever had to read a remote sftp directory?

       

      Thanks!