Currently, FTPCaller can only process a single named file at a time. It would be nice to modify this transformer with the ability to process multiple files of the same type using a wildcard. For example, a user wants to upload 10 PDF files to an FTP site. Modify the FTPCaller parameters to allow the user to use *.pdf instead of explicitly using the file name for each file which would result in 10 transformer runs as opposed to if a wildcard was used there would only be a single run of the transformer, where all the pdf files in a folder would be grabbed at once and uploaded.
Page 1 / 1
Hello,
I sorted a workaround - You are able to read in all XML files (Any FTP applicable item) within a folder and feed it into your FTPCaller.
1. Add a Directory and File Pathnames reader and call upon your folder. (Reader.png)
2. You are then presented with each of the files within the folder, all your relative path and file name attributes are listed.
3. Within your FTP caller you will use the ‘path_filename’ in your URL which reads each of the xml’s in a loop. You will ‘Upload from an Attribute’. You will use the ‘path_windows’ as your upload data attribute.